From: dje@google.com (Doug Evans)
To: gdb-patches@sourceware.org
Subject: [RFA] add $GDBSERVER to find_gdbserver
Date: Tue, 06 May 2008 14:18:00 -0000 [thread overview]
Message-ID: <20080506001221.49BDE1C75D1@localhost> (raw)
If one wants to run the testsuite with the installed version of gdb one can do:
runtest --tool gdb GDB=/mumble
The testsuite harness assumes that if gdb is /mumble/gdb then gdbserver
is /mumble/gdbserver. This isn't always the case.
This patch allows one to do
runtest --tool gdb GDB=/mumble GDBSERVER=/mumble2
Ok to check in?
2008-05-05 Doug Evans <dje@google.com>
* lib/gdbserver-support.exp (find_gdbserver): Use $GDBSERVER if set.
Index: lib/gdbserver-support.exp
===================================================================
RCS file: /cvs/src/src/gdb/testsuite/lib/gdbserver-support.exp,v
retrieving revision 1.12
diff -u -p -u -p -r1.12 gdbserver-support.exp
--- lib/gdbserver-support.exp 30 Jan 2008 00:51:50 -0000 1.12
+++ lib/gdbserver-support.exp 6 May 2008 00:06:15 -0000
@@ -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]
next reply other threads:[~2008-05-06 0:12 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-05-06 14:18 Doug Evans [this message]
2008-05-06 15:46 ` Daniel Jacobowitz
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20080506001221.49BDE1C75D1@localhost \
--to=dje@google.com \
--cc=gdb-patches@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox