* lib/gdbserver-support.exp (find_gdbserver): Use $GDBSERVER if set.

This commit is contained in:
Doug Evans 2008-05-12 17:25:28 +00:00
parent 1f01c90ef3
commit 6fadd07a48
2 changed files with 9 additions and 0 deletions

View File

@ -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.

View File

@ -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]