Correct libc path
authorhcg <hcg@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Fri, 13 May 2011 11:52:40 +0000 (11:52 +0000)
committerhcg <hcg@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Fri, 13 May 2011 11:52:40 +0000 (11:52 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26885 3c298f89-4303-0410-b956-a3cf2f4a3e73

scripts/remote-gdb

index aad23e3..49cdd1e 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();
This page took 0.022407 seconds and 4 git commands to generate.