mirror of
https://github.com/darlinghq/darling-gdb.git
synced 2024-11-25 05:00:01 +00:00
* config/gdbserver.exp (gdbserver_gdb_load): Wait for a complete
line of output.
This commit is contained in:
parent
dc3f888344
commit
23b23974c7
@ -1,3 +1,8 @@
|
||||
2004-02-29 Daniel Jacobowitz <drow@mvista.com>
|
||||
|
||||
* config/gdbserver.exp (gdbserver_gdb_load): Wait for a complete
|
||||
line of output.
|
||||
|
||||
2004-02-28 Daniel Jacobowitz <drow@mvista.com>
|
||||
|
||||
* gdb.base/relocate.c (dummy): Initialize.
|
||||
|
@ -144,11 +144,13 @@ proc gdbserver_gdb_load { server_exec } {
|
||||
"$gdbserver $sockethost$portnum $server_exec"]
|
||||
}
|
||||
|
||||
# Wait for the server to produce at least one character of output.
|
||||
# Wait for the server to produce at least one line and an additional
|
||||
# character of output. This will wait until any TCP socket has been
|
||||
# created, so that GDB can connect.
|
||||
expect {
|
||||
-i $server_spawn_id
|
||||
-notransfer
|
||||
-re . { }
|
||||
-re ".*\n." { }
|
||||
}
|
||||
|
||||
# We can't just call close, because if gdbserver is local then that means
|
||||
|
Loading…
Reference in New Issue
Block a user