diff options
author | Jeff Law <law@redhat.com> | 2002-01-07 19:20:10 +0000 |
---|---|---|
committer | Jeff Law <law@redhat.com> | 2002-01-07 19:20:10 +0000 |
commit | 634d57ec506a933888246b5e7df544f7d0bde2d7 (patch) | |
tree | b2a07f8050a3344637e93bcdd6c2656246f056a5 | |
parent | 05ecd75c3e492f8289cf12a3459b0d1ee3fcaad3 (diff) | |
download | gdb-634d57ec506a933888246b5e7df544f7d0bde2d7.zip gdb-634d57ec506a933888246b5e7df544f7d0bde2d7.tar.gz gdb-634d57ec506a933888246b5e7df544f7d0bde2d7.tar.bz2 |
* 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.
-rw-r--r-- | gdb/testsuite/ChangeLog | 9 | ||||
-rw-r--r-- | gdb/testsuite/gdb.base/selftest.exp | 2 | ||||
-rw-r--r-- | gdb/testsuite/gdb.base/structs.exp | 9 | ||||
-rw-r--r-- | gdb/testsuite/gdb.c++/annota2.exp | 2 |
4 files changed, 12 insertions, 10 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 068a97a..61310d0 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -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. diff --git a/gdb/testsuite/gdb.base/selftest.exp b/gdb/testsuite/gdb.base/selftest.exp index 2b53f32..83ceb62 100644 --- a/gdb/testsuite/gdb.base/selftest.exp +++ b/gdb/testsuite/gdb.base/selftest.exp @@ -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 { diff --git a/gdb/testsuite/gdb.base/structs.exp b/gdb/testsuite/gdb.base/structs.exp index 0203daa..ed91c86 100644 --- a/gdb/testsuite/gdb.base/structs.exp +++ b/gdb/testsuite/gdb.base/structs.exp @@ -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'}" diff --git a/gdb/testsuite/gdb.c++/annota2.exp b/gdb/testsuite/gdb.c++/annota2.exp index 86fdc9d..6f9a3ea 100644 --- a/gdb/testsuite/gdb.c++/annota2.exp +++ b/gdb/testsuite/gdb.c++/annota2.exp @@ -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)" } } |