diff options
author | Vladimir Prus <vladimir@codesourcery.com> | 2008-04-05 17:12:46 +0000 |
---|---|---|
committer | Vladimir Prus <vladimir@codesourcery.com> | 2008-04-05 17:12:46 +0000 |
commit | bb3784283e3ddfb19761aabcc5ade9956e34b311 (patch) | |
tree | daa7163a406290ffcc15b95ec03b0aaf6b2a5a81 /gdb/testsuite/gdb.mi/mi-pending.exp | |
parent | 051568b4d03e758bfc57f55cfda27b65879edd7e (diff) | |
download | fsf-binutils-gdb-bb3784283e3ddfb19761aabcc5ade9956e34b311.zip fsf-binutils-gdb-bb3784283e3ddfb19761aabcc5ade9956e34b311.tar.gz fsf-binutils-gdb-bb3784283e3ddfb19761aabcc5ade9956e34b311.tar.bz2 |
* lib/mi-support.exp (mi_expect_stop): New.
(mi_run_cmd): Change the
token. Use mi_send_resuming_command, use
mi_expect_stop.
(mi_execute_to_helper): Rename to mi_execute_to.
(mi_send_resuming_command): Add more error patterns.
(mi_wait_for_stop): Renamed to...
(mi_get_stop_line): ...this.
(mi_run_inline_test): Adjust.
* gdb.mi/mi-cli.exp: Use mi_execute_to/mi_expect_stop.
* gdb.mi/mi-console.exp: Likewise.
* gdb.mi/mi-pending.exp: Likewise.
* gdb.mi/mi-simplerun.exp: Likewise.
* gdb.mi/mi-stack.exp: Likewise.
* gdb.mi/mi-stepi.exp: Likewise.
* gdb.mi/mi-syn-frame.exp: Add comment.
* gdb.mi/mi-until.exp: Likewise.
* gdb.mi/mi-var-display.exp: Likewise.
* gdb.mi/mi-watch.exp: Likewise.
* gdb.mi/mi2-cli.exp: Likewise.
* gdb.mi/mi2-console.exp: Likewise.
* gdb.mi/mi2-simplerun.exp: Likewise.
* gdb.mi/mi2-stack.exp: Likewise.
* gdb.mi/mi2-stepi.exp: Likewise.
* gdb.mi/mi2-until.exp: Likewise.
* gdb.mi/mi2-var-display.exp: Likewise.
* gdb.mi/mi2-watch.exp: Likewise.
Diffstat (limited to 'gdb/testsuite/gdb.mi/mi-pending.exp')
-rw-r--r-- | gdb/testsuite/gdb.mi/mi-pending.exp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/gdb/testsuite/gdb.mi/mi-pending.exp b/gdb/testsuite/gdb.mi/mi-pending.exp index 51c7f16..01fd934 100644 --- a/gdb/testsuite/gdb.mi/mi-pending.exp +++ b/gdb/testsuite/gdb.mi/mi-pending.exp @@ -68,8 +68,5 @@ mi_gdb_test "-break-insert -f pendfunc1" \ "MI pending breakpoint on pendfunc1" mi_run_cmd - -# Make sure we hit breakpoint. -mi_gdb_test "" \ - ".*\\*stopped,reason=\"breakpoint-hit\",bkptno=\"1\".*func=\"pendfunc1\".*" \ +mi_expect_stop "breakpoint-hit" "pendfunc1" ".*" ".*" ".*" "" \ "Run till MI pending breakpoint on pendfunc1"
\ No newline at end of file |