This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]