diff options
author | Jim Blandy <jimb@codesourcery.com> | 2008-01-29 19:36:58 +0000 |
---|---|---|
committer | Jim Blandy <jimb@codesourcery.com> | 2008-01-29 19:36:58 +0000 |
commit | 401ea829c8166bb5a1f18ec2a164e8ee4b244fc8 (patch) | |
tree | a0b8107a9f9331babeb67edb8e2c41e13b26abba /gdb/testsuite/lib | |
parent | aceaf3add3eb92dbcf2cb0b268baf1940aab6205 (diff) | |
download | gdb-401ea829c8166bb5a1f18ec2a164e8ee4b244fc8.zip gdb-401ea829c8166bb5a1f18ec2a164e8ee4b244fc8.tar.gz gdb-401ea829c8166bb5a1f18ec2a164e8ee4b244fc8.tar.bz2 |
* lib/gdbserver-support.exp (gdb_target_cmd): Recognize 'unknown
host' errors.
* lib/mi-support.exp (mi_gdb_target_cmd): Same.
Diffstat (limited to 'gdb/testsuite/lib')
-rw-r--r-- | gdb/testsuite/lib/gdbserver-support.exp | 3 | ||||
-rw-r--r-- | gdb/testsuite/lib/mi-support.exp | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/gdb/testsuite/lib/gdbserver-support.exp b/gdb/testsuite/lib/gdbserver-support.exp index 406a3cc..50dafe0 100644 --- a/gdb/testsuite/lib/gdbserver-support.exp +++ b/gdb/testsuite/lib/gdbserver-support.exp @@ -52,6 +52,9 @@ proc gdb_target_cmd { targetname serialport } { send_gdb "y\n" exp_continue } + -re "unknown host.*$gdb_prompt" { + verbose "Couldn't look up $serialport" + } -re "Couldn't establish connection to remote.*$gdb_prompt $" { verbose "Connection failed" } diff --git a/gdb/testsuite/lib/mi-support.exp b/gdb/testsuite/lib/mi-support.exp index 0d33221..a67b0cc 100644 --- a/gdb/testsuite/lib/mi-support.exp +++ b/gdb/testsuite/lib/mi-support.exp @@ -332,6 +332,9 @@ proc mi_gdb_target_cmd { targetname serialport } { verbose "Set target to $targetname"; return 0; } + -re "unknown host.*$mi_gdb_prompt" { + verbose "Couldn't look up $serialport" + } -re "Couldn't establish connection to remote.*$mi_gdb_prompt$" { verbose "Connection failed"; } |