aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorMichael Snyder <msnyder@vmware.com>2001-11-08 19:06:18 +0000
committerMichael Snyder <msnyder@vmware.com>2001-11-08 19:06:18 +0000
commitb57034379cde301426173ad050a987285c369f98 (patch)
tree8c303ea4ba3ad11ad8420ccc7f2a30490045b301 /gdb
parent8ac0e65a44066a3174fb1c6462fe03ddbb1e65a8 (diff)
downloadgdb-b57034379cde301426173ad050a987285c369f98.zip
gdb-b57034379cde301426173ad050a987285c369f98.tar.gz
gdb-b57034379cde301426173ad050a987285c369f98.tar.bz2
2001-11-07 Michael Snyder <msnyder@redhat.com>
* gdb.asm/asm-source.exp (bt ALL in foo2): Accept a backtrace that includes a stack frame for "start".
Diffstat (limited to 'gdb')
-rw-r--r--gdb/testsuite/ChangeLog5
-rw-r--r--gdb/testsuite/gdb.asm/asm-source.exp8
2 files changed, 11 insertions, 2 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index 9ca2c26..8e47b31 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -1,3 +1,8 @@
+2001-11-07 Michael Snyder <msnyder@redhat.com>
+
+ * gdb.asm/asm-source.exp (bt ALL in foo2): Accept a backtrace that
+ includes a stack frame for "start".
+
2001-11-05 Jim Blandy <jimb@redhat.com>
* gdb.stabs/weird.exp: Delete "p v_comb" test. It assumes that
diff --git a/gdb/testsuite/gdb.asm/asm-source.exp b/gdb/testsuite/gdb.asm/asm-source.exp
index c1b6afd..3462572 100644
--- a/gdb/testsuite/gdb.asm/asm-source.exp
+++ b/gdb/testsuite/gdb.asm/asm-source.exp
@@ -93,8 +93,12 @@ gdb_test "f" ".*asmsrc2\[.\]s:8.*" "f in foo2"
# `next' one insn (or macro) to set up our stackframe (for the following bt).
gdb_test "n" "12\[ \]*.*foo3" "n in foo2"
-# See if a simple `bt' prints the right source files and doesn't fall off the stack.
-gdb_test "bt 10" "\#0.*foo2.*asmsrc2\[.\]s:12.*\#1.*main.*asmsrc1\[.\]s:33" "bt ALL in foo2"
+# See if a simple `bt' prints the right source files and
+# doesn't fall off the stack.
+
+gdb_test "bt 10" \
+ "\#0.*foo2.*asmsrc2\[.\]s:12.*\#1.*main.*asmsrc1\[.\]s:33(.*\#2.*start\[^\r\n\]*)?" \
+ "bt ALL in foo2"
# See if a capped `bt' prints the right source files.
gdb_test "bt 2" "\#0.*foo2.*asmsrc2\[.\]s:12.*\#1.*main.*asmsrc1\[.\]s:33.*" "bt 2 in foo2"