X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/2904117c6da9af2a09ff746edf58c70278022210..5ba8709ee978e8a8c70e42f362a4934122a406ab:/scripts/remote-gdb 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();