* gdb.base/selftest.exp (backtrace through signal handler): Remove
hppa*-*-hpux* expected failure. * gdb.base/structs.exp (do_function_calls): Similarly. * gdb.c++/annota2.exp (watch triggered on a.x): Handle hardware watchpoints.
This commit is contained in:
parent
05ecd75c3e
commit
634d57ec50
4 changed files with 12 additions and 10 deletions
|
@ -1,3 +1,12 @@
|
|||
Mon Jan 7 12:22:18 2002 Jeffrey A Law (law@redhat.com)
|
||||
|
||||
* gdb.base/selftest.exp (backtrace through signal handler): Remove
|
||||
hppa*-*-hpux* expected failure.
|
||||
* gdb.base/structs.exp (do_function_calls): Similarly.
|
||||
|
||||
* gdb.c++/annota2.exp (watch triggered on a.x): Handle hardware
|
||||
watchpoints.
|
||||
|
||||
2002-01-06 Andrew Cagney <ac131313@redhat.com>
|
||||
|
||||
Fix PR gdb/66.
|
||||
|
|
|
@ -372,7 +372,7 @@ GDB.*Copyright \[0-9\]+ Free Software Foundation, Inc..*$gdb_prompt $"\
|
|||
# This fails on some linux systems for unknown reasons. On the
|
||||
# systems where it fails, sometimes it works fine when run manually.
|
||||
# The testsuite failures may not be limited to just aout systems.
|
||||
setup_xfail "i*86-pc-linuxaout-gnu" "hppa*-*-hpux*"
|
||||
setup_xfail "i*86-pc-linuxaout-gnu"
|
||||
set description "backtrace through signal handler"
|
||||
send_gdb "backtrace\n"
|
||||
gdb_expect {
|
||||
|
|
|
@ -130,17 +130,8 @@ proc do_function_calls {} {
|
|||
gdb_test "p L2" " = {a = 97 'a', b = 98 'b'}"
|
||||
gdb_test "p L3" " = {a = 65 'A', b = 66 'B', c = 67 'C'}"
|
||||
gdb_test "p L4" " = {a = 49 '1', b = 50 '2', c = 51 '3', d = 52 '4'}"
|
||||
if {$gcc_compiled} then {
|
||||
setup_xfail "hppa*-*-*"
|
||||
}
|
||||
gdb_test "p L5" " = {a = 97 'a', b = 98 'b', c = 99 'c', d = 100 'd', e = 101 'e'}"
|
||||
if {$gcc_compiled} then {
|
||||
setup_xfail "hppa*-*-*"
|
||||
}
|
||||
gdb_test "p L6" " = {a = 65 'A', b = 66 'B', c = 67 'C', d = 68 'D', e = 69 'E', f = 70 'F'}"
|
||||
if {$gcc_compiled} then {
|
||||
setup_xfail "hppa*-*-*"
|
||||
}
|
||||
gdb_test "p L7" " = {a = 49 '1', b = 50 '2', c = 51 '3', d = 52 '4', e = 53 '5', f = 54 '6', g = 55 '7'}"
|
||||
gdb_test "p L8" " = {a = 49 '1', b = 50 '2', c = 51 '3', d = 52 '4', e = 53 '5', f = 54 '6', g = 55 '7', h = 56 '8'}"
|
||||
gdb_test "p L9" " = {a = 97 'a', b = 98 'b', c = 99 'c', d = 100 'd', e = 101 'e', f = 102 'f', g = 103 'g', h = 104 'h', i = 105 'i'}"
|
||||
|
|
|
@ -195,6 +195,8 @@ send_gdb "next\n"
|
|||
gdb_expect {
|
||||
-re "\r\n\032\032post-prompt\r\n\r\n\032\032starting\r\n\r\n\032\032frames-invalid\r\n\r\n\032\032frames-invalid\r\n\r\n\032\032frames-invalid\r\n\r\n\032\032watchpoint 3\r\nWatchpoint 3: a.x\r\n\r\nOld value = 0\r\nNew value = 1\r\n\r\n\032\032frame-begin 0 $hex\r\n\r\n\032\032frame-function-name\r\nmain\r\n\032\032frame-args\r\n \\(\\)\r\n\032\032frame-source-begin\r\n at \r\n\032\032frame-source-file\r\n.*$srcfile\r\n\032\032frame-source-file-end\r\n:\r\n\032\032frame-source-line\r\n$decimal\r\n\032\032frame-source-end\r\n\r\n\r\n\032\032source .*$srcfile.*beg:$hex\r\n\r\n\032\032frame-end\r\n\r\n\032\032stopped\r\n$gdb_prompt$" \
|
||||
{ pass "watch triggered on a.x" }
|
||||
-re "\r\n\032\032post-prompt\r\n\r\n\032\032starting\r\n\r\n\032\032frames-invalid\r\n\r\n\032\032frames-invalid\r\n\r\n\032\032frames-invalid\r\n\r\n\032\032frames-invalid\r\n\r\n\032\032watchpoint 3\r\n\.*atchpoint 3: a.x\r\n\r\nOld value = 0\r\nNew value = 1\r\n\r\n\032\032frame-begin 0 $hex\r\n\r\n\032\032frame-function-name\r\nmain\r\n\032\032frame-args\r\n \\(\\)\r\n\032\032frame-source-begin\r\n at \r\n\032\032frame-source-file\r\n.*$srcfile\r\n\032\032frame-source-file-end\r\n:\r\n\032\032frame-source-line\r\n$decimal\r\n\032\032frame-source-end\r\n\r\n\r\n\032\032source .*$srcfile.*beg:$hex\r\n\r\n\032\032frame-end\r\n\r\n\032\032stopped\r\n.*$gdb_prompt$" \
|
||||
{ pass "watch triggered on a.x" }
|
||||
-re ".*$gdb_prompt$" { fail "watch triggered on a.x" }
|
||||
timeout { fail "watch triggered on a.x (timeout)" }
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue