2003-11-06 Elena Zannoni <ezannoni@redhat.com>
authorElena Zannoni <ezannoni@kwikemart.cygnus.com>
Thu, 6 Nov 2003 20:50:47 +0000 (20:50 +0000)
committerElena Zannoni <ezannoni@kwikemart.cygnus.com>
Thu, 6 Nov 2003 20:50:47 +0000 (20:50 +0000)
Reported by Jim Ingham <jingham@apple.com>:
* gdb.base/annota1.exp: Match at least one occurrence of the
signal handler annotation.

gdb/testsuite/ChangeLog
gdb/testsuite/gdb.base/annota1.exp

index ad5c3d9aa2ecaab675cef5f6922364d365902c2d..62a0200f6856b6eca681c0cf0d3f7395ce333b85 100644 (file)
@@ -1,3 +1,9 @@
+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'
index c3ceac34cd657fb7b55da6c56d772b7c4fe99027..dc8ba29ca4d0ac073d146fea531f8a8dc516a926 100644 (file)
@@ -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" }