diff options
author | Jan Kratochvil <jan.kratochvil@redhat.com> | 2010-06-11 21:58:20 +0000 |
---|---|---|
committer | Jan Kratochvil <jan.kratochvil@redhat.com> | 2010-06-11 21:58:20 +0000 |
commit | 8e46892cd5e4853a197ce44da8d398eb8b38cedb (patch) | |
tree | f4212bf047eba932739743e5535d57375a2be3c5 /gdb/testsuite/lib | |
parent | dddb0e800c0c972ed4350b1e3461b1a60fe96229 (diff) | |
download | gdb-8e46892cd5e4853a197ce44da8d398eb8b38cedb.zip gdb-8e46892cd5e4853a197ce44da8d398eb8b38cedb.tar.gz gdb-8e46892cd5e4853a197ce44da8d398eb8b38cedb.tar.bz2 |
gdb/testsuite/
* lib/gdb.exp (gdb_run_cmd): Return on $gdb_prompt.
(runto): Catch "The target does not support running in non-stop mode.".
Diffstat (limited to 'gdb/testsuite/lib')
-rw-r--r-- | gdb/testsuite/lib/gdb.exp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/gdb/testsuite/lib/gdb.exp b/gdb/testsuite/lib/gdb.exp index eb949f8..833fbf2 100644 --- a/gdb/testsuite/lib/gdb.exp +++ b/gdb/testsuite/lib/gdb.exp @@ -290,6 +290,9 @@ proc gdb_run_cmd {args} { exp_continue } -notransfer -re "Starting program: \[^\r\n\]*" {} + -notransfer -re "$gdb_prompt $" { + # There is no more input expected. + } } } @@ -416,6 +419,10 @@ proc runto { function args } { -re "Breakpoint \[0-9\]*, \[0-9xa-f\]* in .*$gdb_prompt $" { return 1 } + -re "The target does not support running in non-stop mode.\r\n$gdb_prompt $" { + unsupported "Non-stop mode not supported" + return 0 + } -re "$gdb_prompt $" { fail "running to $function in runto" return 0 |