summaryrefslogtreecommitdiff
path: root/scripts
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
commitba29f080085d9e71f9e9469aba3d966f3fbda349 (patch)
tree3def5fe70b16e18eba5507fffbac895491ff22d2 /scripts
parent15fecc9e6c2df765a148b3ceee46c4dbb12e1392 (diff)
downloadmtk-20170518-ba29f080085d9e71f9e9469aba3d966f3fbda349.zip
mtk-20170518-ba29f080085d9e71f9e9469aba3d966f3fbda349.tar.gz
mtk-20170518-ba29f080085d9e71f9e9469aba3d966f3fbda349.tar.bz2
remote-gdb: change library paths after r19849, swap usr/lib/ and lib/
SVN-Revision: 19850
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/remote-gdb6
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/remote-gdb b/scripts/remote-gdb
index dd05551..9701b31 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";