summaryrefslogtreecommitdiffstats
path: root/scripts/remote-gdb
diff options
context:
space:
mode:
authorhcg <hcg@3c298f89-4303-0410-b956-a3cf2f4a3e73>2011-05-13 11:52:40 +0000
committerhcg <hcg@3c298f89-4303-0410-b956-a3cf2f4a3e73>2011-05-13 11:52:40 +0000
commitc7cd3155e07928b61944b28bb5358c04d4fb7ed7 (patch)
treeff70a0c36b143afdf87a6346df883588f11a3f9a /scripts/remote-gdb
parentb72f8806e094d7fdf0f5db84abc00c28c54828d8 (diff)
Correct libc path
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26885 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'scripts/remote-gdb')
-rwxr-xr-xscripts/remote-gdb3
1 files changed, 1 insertions, 2 deletions
diff --git a/scripts/remote-gdb b/scripts/remote-gdb
index aad23e324..49cdd1e22 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();