aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/remote-gdb
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2010-02-24 23:51:50 +0000
committerJo-Philipp Wich <jow@openwrt.org>2010-02-24 23:51:50 +0000
commit6c48ebd0a4b86797f0011c27463eaf44a97f902b (patch)
treea268707b8ba0608714917f8daa7fd6570b1a08a8 /scripts/remote-gdb
parent031909ed631e02050d21f95af04378c8420c9b8f (diff)
downloadupstream-6c48ebd0a4b86797f0011c27463eaf44a97f902b.tar.gz
upstream-6c48ebd0a4b86797f0011c27463eaf44a97f902b.tar.bz2
upstream-6c48ebd0a4b86797f0011c27463eaf44a97f902b.zip
[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
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 dd05551c6a..9701b31c15 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";