aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.base/call-signal-resume.exp
diff options
context:
space:
mode:
authorMichael Snyder <msnyder@vmware.com>2010-05-24 22:03:59 +0000
committerMichael Snyder <msnyder@vmware.com>2010-05-24 22:03:59 +0000
commitad3986f07b99393eb3a6282381d82cc1e8fe02fd (patch)
tree2fae34b761d0bc691347934f28d60eba28bbd03c /gdb/testsuite/gdb.base/call-signal-resume.exp
parent6f875884e04b91b36840b991ce4509f9bf560367 (diff)
downloadgdb-ad3986f07b99393eb3a6282381d82cc1e8fe02fd.zip
gdb-ad3986f07b99393eb3a6282381d82cc1e8fe02fd.tar.gz
gdb-ad3986f07b99393eb3a6282381d82cc1e8fe02fd.tar.bz2
2010-05-24 Michael Snyder <msnyder@vmware.com>
* gdb.base/call-ar-st.exp: Replace send_gdb with gdb_test. * gdb.base/callfuncs.exp: Replace send_gdb with gdb_test. * gdb.base/call-rt-st.exp: Replace send_gdb with gdb_test. * gdb.base/call-signal-resume.exp: Replace send_gdb with gdb_test. * gdb.base/call-strs.exp: Replace send_gdb with gdb_test. * gdb.base/catch-syscall.exp: Replace send_gdb with gdb_test. * gdb.base/charset.exp: Replace send_gdb with gdb_test. * gdb.base/checkpoint.exp: Replace send_gdb with gdb_test. * gdb.base/commands.exp: Replace send_gdb with gdb_test. * gdb.base/condbreak.exp: Replace send_gdb with gdb_test. * gdb.base/cond-exprs.exp: Replace send_gdb with gdb_test. * gdb.base/consecutive.exp: Replace send_gdb with gdb_test. * gdb.base/constvars.exp: Replace send_gdb with gdb_test. * gdb.base/corefile.exp: Replace send_gdb with gdb_test.
Diffstat (limited to 'gdb/testsuite/gdb.base/call-signal-resume.exp')
-rw-r--r--gdb/testsuite/gdb.base/call-signal-resume.exp26
1 files changed, 8 insertions, 18 deletions
diff --git a/gdb/testsuite/gdb.base/call-signal-resume.exp b/gdb/testsuite/gdb.base/call-signal-resume.exp
index 58a12c0..d3db0cf 100644
--- a/gdb/testsuite/gdb.base/call-signal-resume.exp
+++ b/gdb/testsuite/gdb.base/call-signal-resume.exp
@@ -53,24 +53,14 @@ if [target_info exists gdb,cannot_call_functions] {
}
proc get_dummy_frame_number { } {
- global gdb_prompt
-
- send_gdb "bt\n"
- gdb_expect {
- -re "#(\[0-9\]*) *<function called from gdb>.*$gdb_prompt $"
- {
- return $expect_out(1,string)
- }
- -re "$gdb_prompt $"
- {
- return ""
- }
- timeout
- {
- return ""
- }
- }
- return ""
+ global gdb_prompt
+
+ gdb_test_multiple "bt" "backtrace" {
+ -re "#(\[0-9\]*) *<function called from gdb>.*$gdb_prompt $" {
+ return $expect_out(1,string)
+ }
+ }
+ return ""
}
# Start with a fresh gdb.