summaryrefslogtreecommitdiffstats
path: root/scripts/remote-gdb
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
commit20a64a738c20ce71786a95e2ec475063ca9e49eb (patch)
tree089c9b114b2afd2c0d421531f3233b8dd80fb747 /scripts/remote-gdb
parenta9e86452326db165b91b8d0868d04e132f3a944f (diff)
downloadmaster-31e0f0ae-20a64a738c20ce71786a95e2ec475063ca9e49eb.tar.gz
master-31e0f0ae-20a64a738c20ce71786a95e2ec475063ca9e49eb.tar.bz2
master-31e0f0ae-20a64a738c20ce71786a95e2ec475063ca9e49eb.zip
remote-gdb: add build_dir/target-*/debug-* to solib-search-path
SVN-Revision: 19845
Diffstat (limited to 'scripts/remote-gdb')
-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")
);