summaryrefslogtreecommitdiff
path: root/scripts/remote-gdb
diff options
context:
space:
mode:
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 aad23e3..49cdd1e 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();