mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-28 20:43:45 +08:00
* lib/gdbserver-support.exp (find_gdbserver): Use $GDBSERVER if set.
This commit is contained in:
parent
1f01c90ef3
commit
6fadd07a48
@ -1,3 +1,7 @@
|
||||
2008-05-12 Doug Evans <dje@google.com>
|
||||
|
||||
* lib/gdbserver-support.exp (find_gdbserver): Use $GDBSERVER if set.
|
||||
|
||||
2008-05-09 Joel Brobecker <brobecker@adacore.com>
|
||||
|
||||
* gdb.ada/assign_1.exp: New testcase.
|
||||
|
@ -105,6 +105,11 @@ set portnum "2345"
|
||||
|
||||
proc find_gdbserver { } {
|
||||
global GDB
|
||||
global GDBSERVER
|
||||
|
||||
if [info exists GDBSERVER] {
|
||||
return ${GDBSERVER}
|
||||
}
|
||||
|
||||
if [target_info exists gdb_server_prog] {
|
||||
return [target_info gdb_server_prog]
|
||||
|
Loading…
Reference in New Issue
Block a user