summaryrefslogtreecommitdiffstats
path: root/scripts/remote-gdb
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/remote-gdb')
-rwxr-xr-xscripts/remote-gdb6
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/remote-gdb b/scripts/remote-gdb
index dd05551c6..9701b31c1 100755
--- a/scripts/remote-gdb
+++ b/scripts/remote-gdb
@@ -53,9 +53,9 @@ if( opendir SD, "$Bin/../staging_dir" )
# Find library paths
my $libdirs = join ':', (
- glob("$Bin/../build_dir/target-${arch}_${libc}/debug-*/{usr/,}lib/"),
- glob("$Bin/../staging_dir/target-${arch}_${libc}/{usr/,}lib"),
- glob("$Bin/../staging_dir/toolchain-${arch}_*_${libc}/lib")
+ glob("$Bin/../staging_dir/target-${arch}_${libc}/root-*/{,usr/}lib/"),
+ glob("$Bin/../staging_dir/target-${arch}_${libc}/{,usr/}lib/"),
+ glob("$Bin/../staging_dir/toolchain-${arch}_*_${libc}/lib/")
);
print $fh "set solib-search-path $libdirs\n";