diff options
Diffstat (limited to 'gdb/testsuite/gdb.base/dprintf.exp')
-rw-r--r-- | gdb/testsuite/gdb.base/dprintf.exp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gdb/testsuite/gdb.base/dprintf.exp b/gdb/testsuite/gdb.base/dprintf.exp index 253e016..71f3554 100644 --- a/gdb/testsuite/gdb.base/dprintf.exp +++ b/gdb/testsuite/gdb.base/dprintf.exp @@ -40,6 +40,8 @@ gdb_breakpoint "main" gdb_test "dprintf foo,\"At foo entry\\n\"" \ "Dprintf .*" +gdb_test "ignore \$bpnum 1" ".*Will ignore next crossing of breakpoint.*" + gdb_test "dprintf $dp_location1,\"arg=%d, g=%d\\n\", arg, g" \ "Dprintf .*" @@ -61,7 +63,7 @@ gdb_run_cmd gdb_test "" "Breakpoint" -gdb_test "continue" "At foo entry.*arg=1234, g=1234.*" "1st dprintf, gdb" +gdb_test "continue" "arg=1234, g=1234.*" "1st dprintf, gdb" gdb_test "continue" "At foo entry.*arg=1235, g=2222.*" "2nd dprintf, gdb" |