gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
authorDoug Evans <xdje42@gmail.com>
Tue, 9 Sep 2014 05:19:32 +0000 (22:19 -0700)
committerDoug Evans <xdje42@gmail.com>
Tue, 9 Sep 2014 05:19:32 +0000 (22:19 -0700)
gdb/testsuite/ChangeLog:

* gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.

gdb/testsuite/ChangeLog
gdb/testsuite/gdb.guile/scm-error.exp

index d3d78d7..d5ebf48 100644 (file)
@@ -1,3 +1,7 @@
+2014-09-09  Doug Evans  <xdje42@gmail.com>
+
+       * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
+
 2014-09-09  Yao Qi  <yao@codesourcery.com>
 
        * gdb.mi/mi-var-display.exp: Set print symbol off.
index b5a1028..3de3dc2 100644 (file)
@@ -95,7 +95,7 @@ gdb_test_no_output "set guile print-stack full" \
     "set print-stack to full, for backtrace test"
 
 gdb_test "guile (define x (top-func 42))" \
-    "Guile Backtrace:.*top-func 42.*middle-func 42.*bottom-func 42.*" \
+    "Guile Backtrace:.*top-func (42|_).*middle-func (42|_).*bottom-func (42|_).*" \
     "backtrace printed"
 
 # Verify gdb-specific errors are printed properly.