* gdb.base/annota1.exp: Allow .*printf in backtraces.
[deliverable/binutils-gdb.git] / gdb / testsuite / gdb.base / annota3.exp
index 055a7b5e8839b7263817367d612fe9b2c8df6044..0410fbf2e7d9d4dd5f14111d44560fd349616a17 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 2003, 2004 Free Software Foundation, Inc.
+# Copyright 2003, 2004, 2005, 2006 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
@@ -206,7 +206,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"
 }
 
@@ -246,7 +246,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"
     }
 }
This page took 0.025152 seconds and 4 git commands to generate.