aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.base/until.exp
diff options
context:
space:
mode:
authorMichael Chastain <mec@google.com>2003-02-03 16:07:31 +0000
committerMichael Chastain <mec@google.com>2003-02-03 16:07:31 +0000
commit9ba61c5d3ad064fdd1f430c3f4639bc88c6bab21 (patch)
tree84210db2d8eacb909726e982edb2a376dfcf458f /gdb/testsuite/gdb.base/until.exp
parent2d188dd3bb022fdf108c2decc1ecb338165a708d (diff)
downloadgdb-9ba61c5d3ad064fdd1f430c3f4639bc88c6bab21.zip
gdb-9ba61c5d3ad064fdd1f430c3f4639bc88c6bab21.tar.gz
gdb-9ba61c5d3ad064fdd1f430c3f4639bc88c6bab21.tar.bz2
2003-02-01 Michael Chastain <mec@shout.net>
* gdb.base/advance.c (marker1): New marker function. * gdb.base/advance.exp: When the 'advance' command lands on the return breakpoint, it can legitimately stop on either the current line or the next line. Accommodate both outcomes. * gdb.base/until.exp: Likewise.
Diffstat (limited to 'gdb/testsuite/gdb.base/until.exp')
-rw-r--r--gdb/testsuite/gdb.base/until.exp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/testsuite/gdb.base/until.exp b/gdb/testsuite/gdb.base/until.exp
index 8159332..f646c6d 100644
--- a/gdb/testsuite/gdb.base/until.exp
+++ b/gdb/testsuite/gdb.base/until.exp
@@ -76,6 +76,6 @@ delete_breakpoints
# stop at main, the caller, where we put the 'guard' breakpoint.
#
gdb_test "until marker3" \
- "$hex in main.*argc.*argv.*envp.*at.*${srcfile}:82.*marker2 \\(43\\)." \
+ "($hex in |)main.*argc.*argv.*envp.*at.*${srcfile}:(82.*marker2 \\(43\\)|83.*marker3 \\(.stack., .trace.\\))." \
"until func, not called by current frame"