[scripts] remote-gdb: change library paths after r19849, swap usr/lib/ and lib/
authorjow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Wed, 24 Feb 2010 23:51:50 +0000 (23:51 +0000)
committerjow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Wed, 24 Feb 2010 23:51:50 +0000 (23:51 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19850 3c298f89-4303-0410-b956-a3cf2f4a3e73

scripts/remote-gdb

index dd05551..9701b31 100755 (executable)
@@ -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";
This page took 0.025012 seconds and 4 git commands to generate.