From 2a22d86e6370424fd7490eefd2b236f0dacba265 Mon Sep 17 00:00:00 2001 From: Hamish Guthrie Date: Fri, 13 May 2011 11:52:40 +0000 Subject: Correct libc path git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26885 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- scripts/remote-gdb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'scripts/remote-gdb') 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(); -- cgit v1.2.3