summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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();