diff options
author | Andrew Cagney <cagney@redhat.com> | 2003-02-03 22:00:56 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2003-02-03 22:00:56 +0000 |
commit | eab73163fcc75925fd4a4c225e1997b86ce3d322 (patch) | |
tree | 70e631a557de6942c139323c8a7a5bd3414b5d76 /gdb/testsuite/gdb.base/advance.exp | |
parent | 41d5c6ad6b8530d4f2df97ccb4bad485260d06cf (diff) | |
download | gdb-eab73163fcc75925fd4a4c225e1997b86ce3d322.tar.gz |
Merge with interps-20030203-mergepoint.
Diffstat (limited to 'gdb/testsuite/gdb.base/advance.exp')
-rw-r--r-- | gdb/testsuite/gdb.base/advance.exp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/gdb/testsuite/gdb.base/advance.exp b/gdb/testsuite/gdb.base/advance.exp index aea5a6d57fc..e5061d8fbf6 100644 --- a/gdb/testsuite/gdb.base/advance.exp +++ b/gdb/testsuite/gdb.base/advance.exp @@ -63,8 +63,12 @@ gdb_test "advance func" \ # Verify that "advance <funcname>" when funcname is NOT called by the current # frame, stops at the end of the current frame. # +# gdb can legitimately stop on either the current line or the next line, +# depending on whether the machine instruction for 'call' on the current +# line has more instructions after it or not. +# gdb_test "advance func3" \ - "in main.*func \\(c\\).*stop here after leaving current frame..."\ + "(in main|).*(func \\(c\\)|marker1 \\(\\)).*stop here after leaving current frame..."\ "advance function not called by current frame" # break at main again |