aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.base/annota3.exp
diff options
context:
space:
mode:
authorUlrich Weigand <uweigand@de.ibm.com>2008-05-16 12:48:08 +0000
committerUlrich Weigand <uweigand@de.ibm.com>2008-05-16 12:48:08 +0000
commite8f972703a85bc24fc38e7b7c4c4e146ff972caa (patch)
treea1ffcc33200c2d33043c462603967f19b05c9bda /gdb/testsuite/gdb.base/annota3.exp
parent03c2f9e6420407cae3af85f321eae30a8e786198 (diff)
downloadgdb-e8f972703a85bc24fc38e7b7c4c4e146ff972caa.zip
gdb-e8f972703a85bc24fc38e7b7c4c4e146ff972caa.tar.gz
gdb-e8f972703a85bc24fc38e7b7c4c4e146ff972caa.tar.bz2
* gdb.base/annota1.exp: Accept printf@... in place of printf.
* gdb.base/annota3.exp: Likewise.
Diffstat (limited to 'gdb/testsuite/gdb.base/annota3.exp')
-rw-r--r--gdb/testsuite/gdb.base/annota3.exp4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/testsuite/gdb.base/annota3.exp b/gdb/testsuite/gdb.base/annota3.exp
index 2e0595c..57c9e40 100644
--- a/gdb/testsuite/gdb.base/annota3.exp
+++ b/gdb/testsuite/gdb.base/annota3.exp
@@ -227,7 +227,7 @@ gdb_expect_list "continue to printf" "$gdb_prompt$" {
send_gdb "backtrace\n"
gdb_expect_list "backtrace from shlibrary" "$gdb_prompt$" {
"\r\n\032\032post-prompt\r\n"
- "#0 .* .*printf \[^\r\n\]*\r\n"
+ "#0 .* .*printf(@\[^ ]*)? \[^\r\n\]*\r\n"
"#1 .* main \[^\r\n\]*\r\n"
}
@@ -267,7 +267,7 @@ if [target_info exists gdb,nosignals] {
gdb_expect_list "backtrace @ signal handler" "$gdb_prompt$" {
"#0 +handle_USR1 \[^\r\n\]+\r\n"
"#1 +.signal handler called.\r\n"
- "#2 .* .*printf \[^\r\n\]+\r\n"
+ "#2 .* .*printf(@\[^ \]*)? \[^\r\n\]+\r\n"
"#3 .* main \[^\r\n\]+\r\n"
}
}