diff options
Diffstat (limited to 'gdb/testsuite/gdb.mi/mi2-var-child.exp')
-rw-r--r-- | gdb/testsuite/gdb.mi/mi2-var-child.exp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gdb/testsuite/gdb.mi/mi2-var-child.exp b/gdb/testsuite/gdb.mi/mi2-var-child.exp index d2f65c5..f992a63 100644 --- a/gdb/testsuite/gdb.mi/mi2-var-child.exp +++ b/gdb/testsuite/gdb.mi/mi2-var-child.exp @@ -1160,8 +1160,9 @@ proc verify_everything {variable_name} { set lineno [gdb_get_line_number "anonymous type tests breakpoint"] mi_create_breakpoint \ - "$srcfile:$lineno" {[0-9]+} keep {do_anonymous_type_tests} \ - ".*var-cmd.c" $lineno $hex "break in do_anonymous_type_tests" + "$srcfile:$lineno" "break in do_anonymous_type_tests" \ + -disp keep -func do_anonymous_type_tests \ + -file ".*var-cmd.c" -line $lineno mi_execute_to "exec-continue" "breakpoint-hit" "do_anonymous_type_tests" ""\ ".*" ".*" {"" "disp=\"keep\""} \ "continue to do_anonymous_type_tests breakpoint" |