aboutsummaryrefslogtreecommitdiff
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
parentd3aeb6ee26b6b4af6e6d140be1eb01da6eca5acb (diff)
downloadgdb-b8e9bd6c6461ea6a53d5a48bad21aab75cd1e9e5.zip
gdb-b8e9bd6c6461ea6a53d5a48bad21aab75cd1e9e5.tar.gz
gdb-b8e9bd6c6461ea6a53d5a48bad21aab75cd1e9e5.tar.bz2
* cc-with-index.sh: Look for ../../gdb, for fullname.exp.
-rw-r--r--gdb/ChangeLog1
-rw-r--r--gdb/cc-with-index.sh3
2 files changed, 4 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 515ab23..e88f1c4 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,6 +1,7 @@
2011-06-07 Doug Evans <dje@google.com>
* cc-with-index.sh: Fix typos in comment.
+ Look for ../../gdb, for fullname.exp.
2011-06-07 Jan Kratochvil <jan.kratochvil@redhat.com>
Pedro Alves <pedro@codesourcery.com>
diff --git a/gdb/cc-with-index.sh b/gdb/cc-with-index.sh
index 4e907f9..2de7a16 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