This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[commit] cc-with-index.sh: Look for ../../gdb, for fullname.exp.
- From: dje at google dot com (Doug Evans)
- To: gdb-patches at sourceware dot org
- Date: Tue, 7 Jun 2011 18:42:39 -0700 (PDT)
- Subject: [commit] cc-with-index.sh: Look for ../../gdb, for fullname.exp.
Hi.
gdb.base/fullname.exp was getting a compilation error,
because gdb couldn't be found.
Committed.
2011-06-07 Doug Evans <dje@google.com>
* cc-with-index.sh: Look for ../../gdb, for fullname.exp.
diff -u -p -r1.4 cc-with-index.sh
--- cc-with-index.sh 8 Jun 2011 00:15:54 -0000 1.4
+++ cc-with-index.sh 8 Jun 2011 01:36:38 -0000
@@ -40,6 +40,9 @@ then
elif [ -f ../gdb ]
then
GDB="../gdb"
+ elif [ -f ../../gdb ]
+ then
+ GDB="../../gdb"
else
echo "$myname: unable to find usable gdb" >&2
exit 1