diff options
author | Hamish Guthrie <hcg@openwrt.org> | 2011-05-13 11:52:40 +0000 |
---|---|---|
committer | Hamish Guthrie <hcg@openwrt.org> | 2011-05-13 11:52:40 +0000 |
commit | 2a22d86e6370424fd7490eefd2b236f0dacba265 (patch) | |
tree | ff70a0c36b143afdf87a6346df883588f11a3f9a /scripts | |
parent | ec135c3d348b34a73d233692e05207724b31b233 (diff) | |
download | master-187ad058-2a22d86e6370424fd7490eefd2b236f0dacba265.tar.gz master-187ad058-2a22d86e6370424fd7490eefd2b236f0dacba265.tar.bz2 master-187ad058-2a22d86e6370424fd7490eefd2b236f0dacba265.zip |
Correct libc path
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26885 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/remote-gdb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/scripts/remote-gdb b/scripts/remote-gdb index aad23e3246..49cdd1e22c 100755 --- a/scripts/remote-gdb +++ b/scripts/remote-gdb @@ -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(); |