mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-29 21:13:52 +08:00
* lib/gdbserver-support.exp (gdb_target_cmd): Recognize 'unknown
host' errors. * lib/mi-support.exp (mi_gdb_target_cmd): Same.
This commit is contained in:
parent
aceaf3add3
commit
401ea829c8
@ -1,3 +1,9 @@
|
||||
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
|
||||
|
@ -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"
|
||||
}
|
||||
|
@ -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";
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user