aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.mi/mi-pending.exp
diff options
context:
space:
mode:
authorAleksandar Ristovski <aristovski@qnx.com>2008-04-15 14:33:55 +0000
committerAleksandar Ristovski <aristovski@qnx.com>2008-04-15 14:33:55 +0000
commit18ac113bcca70c9d886dbdeefd660836ab6c5bf6 (patch)
treeee1fb497795416011ad430293903954fbb29523b /gdb/testsuite/gdb.mi/mi-pending.exp
parent2cec12e55bda9d647ec2de43e45638d1bd4e102e (diff)
downloadgdb-18ac113bcca70c9d886dbdeefd660836ab6c5bf6.zip
gdb-18ac113bcca70c9d886dbdeefd660836ab6c5bf6.tar.gz
gdb-18ac113bcca70c9d886dbdeefd660836ab6c5bf6.tar.bz2
* gdb.base/attach.exp (do_attach_tests): Matching pattern for
temporary breakpoint to match "Temporary breakpoint". * gdb.base/break.exp (delete_breakpoints): Likewise. * gdb.base/call-ar-st.exp (get_debug_format): Likewise. * gdb.base/commands.exp (temporary_breakpoint_commands): Likewise. * gdb.base/display.exp: Likewise. * gdb.base/foll-exec.exp (do_exec_tests): Likewise. * gdb.base/foll-fork.exp (catch_fork_child_follow): Likewise. * gdb.base/restore.exp (restore_tests): Likewise. * gdb.base/sepdebug.exp: Likewise. * gdb.base/watchpoint.exp: Likewise. * gdb.mi/mi-cli.exp: Added argument for new "disp" field. * gdb.mi/mi-pending.exp: Likewise. * gdb.mi/mi-simplerun.exp (test_running_the_program): Likewise. * gdb.mi/mi-until.exp (test_runnint_to_foo): Likewise. * gdb.mi/mi-var-cmd.exp: Likewise. * gdb.mi/mi-var-display.exp: Likewise. * gdb.mi/mi2-cli.exp: Likewise. * gdb.mi/mi2-simplerun.exp (test_running_the_program): Likewise. * gdb.mi/mi2-until.exp (test_running_to_foo): Likewise. * gdb.mi/mi2-var-display.exp: Likewise. * lib/gdb.exp (gdb_breakpoint): Pattern for temporary breakpoint. * lib/mi-support.exp (mi_runto_helper): Use "after_reason" argument for new "disp" field. (mi_expect_stop): Move after_reason argument to be really after reason. This is to support fix for PR2424.
Diffstat (limited to 'gdb/testsuite/gdb.mi/mi-pending.exp')
-rw-r--r--gdb/testsuite/gdb.mi/mi-pending.exp5
1 files changed, 3 insertions, 2 deletions
diff --git a/gdb/testsuite/gdb.mi/mi-pending.exp b/gdb/testsuite/gdb.mi/mi-pending.exp
index 01fd934..f2e6b95 100644
--- a/gdb/testsuite/gdb.mi/mi-pending.exp
+++ b/gdb/testsuite/gdb.mi/mi-pending.exp
@@ -68,5 +68,6 @@ mi_gdb_test "-break-insert -f pendfunc1" \
"MI pending breakpoint on pendfunc1"
mi_run_cmd
-mi_expect_stop "breakpoint-hit" "pendfunc1" ".*" ".*" ".*" "" \
- "Run till MI pending breakpoint on pendfunc1" \ No newline at end of file
+mi_expect_stop "breakpoint-hit" "pendfunc1" ".*" ".*" ".*" \
+ { "" "disp=\"keep\"" } \
+ "Run till MI pending breakpoint on pendfunc1"