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 | |
parent | aceaf3add3eb92dbcf2cb0b268baf1940aab6205 (diff) | |
download | fsf-binutils-gdb-401ea829c8166bb5a1f18ec2a164e8ee4b244fc8.zip fsf-binutils-gdb-401ea829c8166bb5a1f18ec2a164e8ee4b244fc8.tar.gz fsf-binutils-gdb-401ea829c8166bb5a1f18ec2a164e8ee4b244fc8.tar.bz2 |
* lib/gdbserver-support.exp (gdb_target_cmd): Recognize 'unknown
host' errors.
* lib/mi-support.exp (mi_gdb_target_cmd): Same.
-rw-r--r-- | gdb/testsuite/ChangeLog | 6 | ||||
-rw-r--r-- | gdb/testsuite/lib/gdbserver-support.exp | 3 | ||||
-rw-r--r-- | gdb/testsuite/lib/mi-support.exp | 3 |
3 files changed, 12 insertions, 0 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 55e0bc8..b0ddbca 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,5 +1,11 @@ 2008-01-29 Jim Blandy <jimb@red-bean.com> + * lib/gdbserver-support.exp (gdb_target_cmd): Recognize 'unknown + host' errors. + * lib/mi-support.exp (mi_gdb_target_cmd): Same. + +2008-01-29 Jim Blandy <jimb@red-bean.com> + * gdb.threads/sigthread.c: Use barriers to ensure that child_thread and child_thread_two are always initialized before we start to use them. 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"; } |