aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/remote-gdb
diff options
context:
space:
mode:
authorHamish Guthrie <hcg@openwrt.org>2011-05-13 11:52:40 +0000
committerHamish Guthrie <hcg@openwrt.org>2011-05-13 11:52:40 +0000
commit7b53059401bd7736d9aa30575a8edc3b77438a28 (patch)
treec8049c8cdcd0a2ddea61c2e59398da1f9cc81f8b /scripts/remote-gdb
parentd6e96fd7d811cf3ba0badb085190bf8ab7f6e163 (diff)
downloadupstream-7b53059401bd7736d9aa30575a8edc3b77438a28.tar.gz
upstream-7b53059401bd7736d9aa30575a8edc3b77438a28.tar.bz2
upstream-7b53059401bd7736d9aa30575a8edc3b77438a28.zip
Correct libc path
SVN-Revision: 26885
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 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();