summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElena Zannoni <ezannoni@kwikemart.cygnus.com>2003-11-06 20:50:47 +0000
committerElena Zannoni <ezannoni@kwikemart.cygnus.com>2003-11-06 20:50:47 +0000
commitb562167718094431f90232de8f9427c04adeb83d (patch)
tree4262ec8420d8c863e68bcf0137a4150e2e209aee
parent24a6306e424204e4b1c9f35dfeb9b8b66049aecd (diff)
downloadgdb-b562167718094431f90232de8f9427c04adeb83d.tar.gz
2003-11-06 Elena Zannoni <ezannoni@redhat.com>
Reported by Jim Ingham <jingham@apple.com>: * gdb.base/annota1.exp: Match at least one occurrence of the signal handler annotation.
-rw-r--r--gdb/testsuite/ChangeLog6
-rw-r--r--gdb/testsuite/gdb.base/annota1.exp2
2 files changed, 7 insertions, 1 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index ad5c3d9aa2e..62a0200f685 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -1,5 +1,11 @@
2003-11-06 Elena Zannoni <ezannoni@redhat.com>
+ Reported by Jim Ingham <jingham@apple.com>:
+ * gdb.base/annota1.exp: Match at least one occurrence of the
+ signal handler annotation.
+
+2003-11-06 Elena Zannoni <ezannoni@redhat.com>
+
* gdb.cp/annota2.exp: Make sure we can match 'Hardware watchpoint'
as well as 'Watchpoint'.
diff --git a/gdb/testsuite/gdb.base/annota1.exp b/gdb/testsuite/gdb.base/annota1.exp
index c3ceac34cd6..dc8ba29ca4d 100644
--- a/gdb/testsuite/gdb.base/annota1.exp
+++ b/gdb/testsuite/gdb.base/annota1.exp
@@ -296,7 +296,7 @@ match_max 3000
verbose "match_max now is: [match_max]"
send_gdb "backtrace\n"
gdb_expect {
- -re "frame-begin 0 $hex\r\n#0.*frame-end.*frame-begin 1 $hex\r\n#1.*(\032\032signal-handler-caller\r\n.signal handler called.\r\n\r\n)*\032\032frame-end\r\n\r\n\032\032frame-begin 2 $hex\r\n#2.*(frame-begin 3 $hex\r\n#3.*)*frame-end.*$gdb_prompt$" {
+ -re "frame-begin 0 $hex\r\n#0.*frame-end.*frame-begin 1 $hex\r\n#1.*(\032\032signal-handler-caller\r\n.signal handler called.\r\n\r\n)+\032\032frame-end\r\n\r\n\032\032frame-begin 2 $hex\r\n#2.*(frame-begin 3 $hex\r\n#3.*)*frame-end.*$gdb_prompt$" {
pass "backtrace @ signal handler"
}
-re ".*$gdb_prompt$" { fail "backtrace @ signal handler" }