]> git.pld-linux.org Git - packages/gdb.git/blobdiff - gdb-6.3-ia64-info-frame-fix-20050725.patch
- up to 7.3.1
[packages/gdb.git] / gdb-6.3-ia64-info-frame-fix-20050725.patch
index 3b2bd9a575fc474c032fa827e9e7b60e54f3d225..2ebab9eaa5f8f2b240e8f3e4b8bd84fa39bb085f 100644 (file)
@@ -41,7 +41,7 @@ testsuite:
 +
 --- gdb-6.3/gdb/testsuite/gdb.arch/ia64-sigtramp.exp.fix       2005-07-25 16:42:50.000000000 -0400
 +++ gdb-6.3/gdb/testsuite/gdb.arch/ia64-sigtramp.exp   2005-07-25 16:42:01.000000000 -0400
-@@ -0,0 +1,66 @@
+@@ -0,0 +1,63 @@
 +#   Copyright 2005 Free Software Foundation, Inc.
 +
 +# This program is free software; you can redistribute it and/or modify
@@ -63,16 +63,6 @@ testsuite:
 +
 +# This file was written by Jeff Johnston (jjohnstn@redhat.com)
 +
-+if $tracelevel then {
-+    strace $tracelevel
-+}
-+
-+#
-+# test running programs
-+#
-+set prms_id 0
-+set bug_id 0
-+
 +if ![istarget "ia64-*-*"] then {
 +    return
 +}
@@ -90,7 +80,10 @@ testsuite:
 +}
 +
 +gdb_exit
++set match_max_old [match_max]
++match_max -d 1000000
 +gdb_start
++match_max -d $match_max_old
 +gdb_reinitialize_dir $srcdir/$subdir
 +gdb_load ${binfile}
 +
@@ -106,5 +99,9 @@ testsuite:
 +gdb_test "continue" "Breakpoint.*x.*" "continue to x"
 +
 +gdb_test "f 1" ".*signal handler called.*" "frame 1"
-+gdb_test "info frame" "Stack level 1.*p63 at .*" "info sigtramp frame"
-+ 
++
++# gdb-7.0+ no longer prints the pseudo registers as they are computed.
++# frame_info says: /* For moment, only display registers that were saved on the
++#                     stack.  */
++gdb_test "set debug frame 1"
++gdb_test "info frame" "Stack level 1, .*frame_unwind_register_value \\(frame=1,regnum=750\\(p63\\),\[^\r\n\]*\r\n\[^\r\n\]*-> computed bytes=.*" "info sigtramp frame"
This page took 0.110702 seconds and 4 git commands to generate.