summaryrefslogtreecommitdiff
path: root/gdb/cc-with-index.sh
diff options
context:
space:
mode:
authorDoug Evans <dje@google.com>2011-06-08 01:40:58 +0000
committerDoug Evans <dje@google.com>2011-06-08 01:40:58 +0000
commitb8e9bd6c6461ea6a53d5a48bad21aab75cd1e9e5 (patch)
treeea832fb101581dac82e2f8d49392b55305c44035 /gdb/cc-with-index.sh
parentd3aeb6ee26b6b4af6e6d140be1eb01da6eca5acb (diff)
downloadbinutils-gdb-b8e9bd6c6461ea6a53d5a48bad21aab75cd1e9e5.tar.gz
* cc-with-index.sh: Look for ../../gdb, for fullname.exp.
Diffstat (limited to 'gdb/cc-with-index.sh')
-rw-r--r--gdb/cc-with-index.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/gdb/cc-with-index.sh b/gdb/cc-with-index.sh
index 4e907f90f42..2de7a160098 100644
--- a/gdb/cc-with-index.sh
+++ b/gdb/cc-with-index.sh
@@ -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