From b562167718094431f90232de8f9427c04adeb83d Mon Sep 17 00:00:00 2001 From: Elena Zannoni Date: Thu, 6 Nov 2003 20:50:47 +0000 Subject: [PATCH] 2003-11-06 Elena Zannoni Reported by Jim Ingham : * gdb.base/annota1.exp: Match at least one occurrence of the signal handler annotation. --- gdb/testsuite/ChangeLog | 6 ++++++ gdb/testsuite/gdb.base/annota1.exp | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index ad5c3d9aa2..62a0200f68 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,5 +1,11 @@ 2003-11-06 Elena Zannoni + Reported by Jim Ingham : + * gdb.base/annota1.exp: Match at least one occurrence of the + signal handler annotation. + +2003-11-06 Elena Zannoni + * 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 c3ceac34cd..dc8ba29ca4 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" } -- 2.11.0