aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2010-02-24 22:56:36 +0000
committerJo-Philipp Wich <jow@openwrt.org>2010-02-24 22:56:36 +0000
commit93aae29643436528ff33a425a80a93fd09f1a1b4 (patch)
treebd101c985dff8afe0ba18f866c55794b55d0e069
parent2d1cd52adefd130f9427dbd4e39b4349ccf527c9 (diff)
downloadupstream-93aae29643436528ff33a425a80a93fd09f1a1b4.tar.gz
upstream-93aae29643436528ff33a425a80a93fd09f1a1b4.tar.bz2
upstream-93aae29643436528ff33a425a80a93fd09f1a1b4.zip
[scripts] remote-gdb: add build_dir/target-*/debug-* to solib-search-path
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19845 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rwxr-xr-xscripts/remote-gdb1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/remote-gdb b/scripts/remote-gdb
index 869fa875a0..dd05551c6a 100755
--- a/scripts/remote-gdb
+++ b/scripts/remote-gdb
@@ -53,6 +53,7 @@ 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")
);