Correct libc path
authorHamish Guthrie <hcg@openwrt.org>
Fri, 13 May 2011 11:52:40 +0000 (11:52 +0000)
committerHamish Guthrie <hcg@openwrt.org>
Fri, 13 May 2011 11:52:40 +0000 (11:52 +0000)
SVN-Revision: 26885

scripts/remote-gdb

index aad23e3246ad6feb441c9ecbb593f36899f7a1cb..49cdd1e22c5a8180fe9184d66a7306d0d0cd52ab 100755 (executable)
@@ -52,8 +52,7 @@ if( opendir SD, "$Bin/../staging_dir" )
        closedir SD;
 
        # Find gdb
-       my ($gdb) = glob("$Bin/../staging_dir/toolchain-${arch}_*_${libc}/bin/*-gdb");
-
+       my ($gdb) = glob("$Bin/../staging_dir/toolchain-${arch}_*_${libc}*/bin/*-gdb");
        if( defined($gdb) && -x $gdb )
        {
                my ( $fh, $fp ) = tempfile();