daily update
[external/binutils.git] / gdb / testsuite / gdb.base / annota3.exp
index 2e0595c..da8151a 100644 (file)
@@ -1,4 +1,5 @@
-# Copyright 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
+# Copyright 2003, 2004, 2005, 2006, 2007, 2008, 2009
+# Free Software Foundation, Inc.
 
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
@@ -227,7 +228,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 +268,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"
     }
 }