[commit] cc-with-index.sh: Look for ../../gdb, for fullname.exp.

Doug Evans dje@google.com
Wed Jun 8 01:43:00 GMT 2011


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



More information about the Gdb-patches mailing list