summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>2010-02-24 23:51:50 +0000
committerjow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>2010-02-24 23:51:50 +0000
commit1dc2db31a33723283805e325c9dcdde41d03bac1 (patch)
treea268707b8ba0608714917f8daa7fd6570b1a08a8
parentc993669cc48bbb91e9561f1cdcf3c91292d8a9aa (diff)
[scripts] remote-gdb: change library paths after r19849, swap usr/lib/ and lib/
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19850 3c298f89-4303-0410-b956-a3cf2f4a3e73
-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";