2012-03-01 Pedro Alves <palves@redhat.com>
[deliverable/binutils-gdb.git] / gdb / cc-with-index.sh
index 4e907f90f42282544f9e06e7fe48bb11befc0884..22eefaacbff339ed4f8006322fba321a7acf9db8 100644 (file)
@@ -1,7 +1,7 @@
 #! /bin/sh
 # Wrapper around gcc to add the .gdb_index section when running the testsuite.
 
-# Copyright (C) 2010, 2011 Free Software Foundation, Inc.
+# Copyright (C) 2010-2012 Free Software Foundation, Inc.
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
 # the Free Software Foundation; either version 3 of the License, or
@@ -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
This page took 0.023496 seconds and 4 git commands to generate.