From: Jo-Philipp Wich Date: Wed, 24 Feb 2010 23:51:50 +0000 (+0000) Subject: remote-gdb: change library paths after r19849, swap usr/lib/ and lib/ X-Git-Tag: reboot~20926 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=ba29f080085d9e71f9e9469aba3d966f3fbda349;p=openwrt%2Fopenwrt.git remote-gdb: change library paths after r19849, swap usr/lib/ and lib/ SVN-Revision: 19850 --- 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";