diff options
-rw-r--r-- | gdb/testsuite/gdb.base/unwind-on-each-insn.exp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/gdb/testsuite/gdb.base/unwind-on-each-insn.exp b/gdb/testsuite/gdb.base/unwind-on-each-insn.exp index d6f90dd..059967a 100644 --- a/gdb/testsuite/gdb.base/unwind-on-each-insn.exp +++ b/gdb/testsuite/gdb.base/unwind-on-each-insn.exp @@ -142,9 +142,11 @@ proc do_test { function step_cmd } { break } + gdb_test $step_cmd + set in_fn 0 - gdb_test_multiple $step_cmd "" { - -re -wrap "$::hex in $function \\(\\)" { + gdb_test_multiple "info frame" "" { + -re -wrap "rip = $::hex in ${function}( \\(.*\\))?;.*" { set in_fn 1 } -re -wrap "" {} |