From: Jo-Philipp Wich Date: Wed, 24 Feb 2010 22:56:36 +0000 (+0000) Subject: remote-gdb: add build_dir/target-*/debug-* to solib-search-path X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=20a64a738c20ce71786a95e2ec475063ca9e49eb;p=openwrt%2Fstaging%2Fstintel.git remote-gdb: add build_dir/target-*/debug-* to solib-search-path SVN-Revision: 19845 --- 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") );