Browse Source

remote-gdb: add build_dir/target-*/debug-* to solib-search-path

SVN-Revision: 19845
Jo-Philipp Wich 15 years ago
parent
commit
20a64a738c
1 changed files with 1 additions and 0 deletions
  1. 1 0
      scripts/remote-gdb

+ 1 - 0
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")
 		);