diff options
author | Tom Tromey <tromey@redhat.com> | 2011-03-09 14:17:05 +0000 |
---|---|---|
committer | Tom Tromey <tromey@redhat.com> | 2011-03-09 14:17:05 +0000 |
commit | eceb0c5f4943501e17f3296e2348789ccba62522 (patch) | |
tree | 38269aabcf78ebe02025ca2ba06385c409e669de /gdb/testsuite/gdb.base | |
parent | 9f37bbcca8004e1ac5be674446c51b50b36dc94e (diff) | |
download | gdb-eceb0c5f4943501e17f3296e2348789ccba62522.zip gdb-eceb0c5f4943501e17f3296e2348789ccba62522.tar.gz gdb-eceb0c5f4943501e17f3296e2348789ccba62522.tar.bz2 |
* lib/gdb.exp (inferior_exited_re): Match. leading `['. Wrap in
parentheses.
(gdb_continue_to_end): Add "allow_extra" parameter. Use
$command.
* gdb.threads/thread-unwindonsignal.exp: Pass "allow_extra"
argument to gdb_continue_to_end.
* gdb.threads/interrupted-hand-call.exp: Pass "allow_extra"
argument to gdb_continue_to_end.
* gdb.cp/annota3.exp: Fix regex.
* gdb.cp/annota2.exp: Fix regex.
* gdb.base/shlib-call.exp: Pass "allow_extra" argument to
gdb_continue_to_end.
* gdb.base/call-signal-resume.exp: Revert earlier patch.
* gdb.ada/tasks.exp: Pass "allow_extra" argument to
gdb_continue_to_end.
Diffstat (limited to 'gdb/testsuite/gdb.base')
-rw-r--r-- | gdb/testsuite/gdb.base/call-signal-resume.exp | 3 | ||||
-rw-r--r-- | gdb/testsuite/gdb.base/shlib-call.exp | 4 |
2 files changed, 4 insertions, 3 deletions
diff --git a/gdb/testsuite/gdb.base/call-signal-resume.exp b/gdb/testsuite/gdb.base/call-signal-resume.exp index c8ca941..cf39b96 100644 --- a/gdb/testsuite/gdb.base/call-signal-resume.exp +++ b/gdb/testsuite/gdb.base/call-signal-resume.exp @@ -146,6 +146,7 @@ gdb_test "continue" "Breakpoint \[0-9\]*, handle_signal.*" \ # Continue one last time, the program should exit normally. -gdb_continue_to_end +gdb_test "continue" "$inferior_exited_re normally." \ + "continue to program exit" return 0 diff --git a/gdb/testsuite/gdb.base/shlib-call.exp b/gdb/testsuite/gdb.base/shlib-call.exp index ba484f0..1f93f78 100644 --- a/gdb/testsuite/gdb.base/shlib-call.exp +++ b/gdb/testsuite/gdb.base/shlib-call.exp @@ -182,12 +182,12 @@ if ![is_remote target] { gdb_test "run" "Starting program:.*Breakpoint .,.*" \ "run to bp in shared library" - gdb_continue_to_end + gdb_continue_to_end "" continue 1 gdb_test "run" "Starting program:.*Breakpoint .,.*" \ "re-run to bp in shared library (PR's 16495, 18213)" - gdb_continue_to_end + gdb_continue_to_end "" continue 1 } return 0 |