diff options
author | Doug Evans <dje@google.com> | 2008-05-12 17:25:28 +0000 |
---|---|---|
committer | Doug Evans <dje@google.com> | 2008-05-12 17:25:28 +0000 |
commit | 6fadd07a48534c07dc123b00855eb5205842f698 (patch) | |
tree | cdf31320c4dff6b087b8f091a4113ca96b5e04bb /gdb | |
parent | 1f01c90ef3b77d94e00f729ac565cb76c39ee118 (diff) | |
download | gdb-6fadd07a48534c07dc123b00855eb5205842f698.zip gdb-6fadd07a48534c07dc123b00855eb5205842f698.tar.gz gdb-6fadd07a48534c07dc123b00855eb5205842f698.tar.bz2 |
* lib/gdbserver-support.exp (find_gdbserver): Use $GDBSERVER if set.
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/testsuite/ChangeLog | 4 | ||||
-rw-r--r-- | gdb/testsuite/lib/gdbserver-support.exp | 5 |
2 files changed, 9 insertions, 0 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 8abe50d..f958980 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -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. diff --git a/gdb/testsuite/lib/gdbserver-support.exp b/gdb/testsuite/lib/gdbserver-support.exp index 6fbaa22..0ec2500 100644 --- a/gdb/testsuite/lib/gdbserver-support.exp +++ b/gdb/testsuite/lib/gdbserver-support.exp @@ -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] |