[PATCH] old annota1.exp patch
Elena Zannoni
ezannoni@redhat.com
Thu Nov 6 20:50:00 GMT 2003
This was never committed. I am committing it now.
elena
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.
Index: annota1.exp
===================================================================
RCS file: /cvs/uberbaum/gdb/testsuite/gdb.base/annota1.exp,v
retrieving revision 1.12
diff -u -p -r1.12 annota1.exp
--- annota1.exp 9 Jul 2003 13:19:08 -0000 1.12
+++ annota1.exp 6 Nov 2003 20:48:29 -0000
@@ -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" }
More information about the Gdb-patches
mailing list