aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/lib
diff options
context:
space:
mode:
authorDaniel Jacobowitz <drow@false.org>2010-01-28 22:14:12 +0000
committerDaniel Jacobowitz <drow@false.org>2010-01-28 22:14:12 +0000
commit4ea95be9cd61e0638c39e7ce15c96be7d5dbc950 (patch)
tree68e8132506409517681c242c43a6934e69535a9a /gdb/testsuite/lib
parentd37346f037e49c0ce3c4875a828fe1df85331638 (diff)
downloadgdb-4ea95be9cd61e0638c39e7ce15c96be7d5dbc950.zip
gdb-4ea95be9cd61e0638c39e7ce15c96be7d5dbc950.tar.gz
gdb-4ea95be9cd61e0638c39e7ce15c96be7d5dbc950.tar.bz2
* gdb.mi/mi-nonstop.exp (mi_nonstop_resume): New function.
(Top level): Use it to resume. * lib/mi-support.exp (mi_send_resuming_command_raw): Recognize the Thumb mode displaced stepping error as unsupported.
Diffstat (limited to 'gdb/testsuite/lib')
-rw-r--r--gdb/testsuite/lib/mi-support.exp10
1 files changed, 7 insertions, 3 deletions
diff --git a/gdb/testsuite/lib/mi-support.exp b/gdb/testsuite/lib/mi-support.exp
index 373b366..360eceb 100644
--- a/gdb/testsuite/lib/mi-support.exp
+++ b/gdb/testsuite/lib/mi-support.exp
@@ -1565,14 +1565,18 @@ proc mi_send_resuming_command_raw {command test} {
# as real failure.
return 0
}
- -re ".*${mi_gdb_prompt}" {
- fail "$test (failed to resume)"
- return -1
+ -re "\\^error,msg=\"Displaced stepping is only supported in ARM mode\".*" {
+ unsupported "$test (Thumb mode)"
+ return -1
}
-re "\\^error,msg=.*" {
fail "$test (MI error)"
return -1
}
+ -re ".*${mi_gdb_prompt}" {
+ fail "$test (failed to resume)"
+ return -1
+ }
timeout {
fail "$test"
return -1