From 1dc2db31a33723283805e325c9dcdde41d03bac1 Mon Sep 17 00:00:00 2001 From: jow Date: Wed, 24 Feb 2010 23:51:50 +0000 Subject: [scripts] remote-gdb: change library paths after r19849, swap usr/lib/ and lib/ git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19850 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- scripts/remote-gdb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'scripts/remote-gdb') diff --git a/scripts/remote-gdb b/scripts/remote-gdb index dd05551c6..9701b31c1 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"; -- cgit v1.2.3