scripts: use extended-remote for greater compatibility
Plain "remote" results in failure to connect using the gdb built with the toolchain. (On atheros target at least) extended-remote also allows "run" to restart the target process. Signed-off-by: Karl Palsson <karlp@remake.is> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43596 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
01e0a72947
commit
d24a026ec4
1 changed files with 1 additions and 1 deletions
|
@ -61,7 +61,7 @@ if( opendir SD, "$Bin/../staging_dir" )
|
|||
my ($sysroot) = glob("$Bin/../staging_dir/target-${arch}_${libc}/root-*/");
|
||||
|
||||
print $fh "set sysroot $sysroot\n" if $sysroot;
|
||||
my $cmd = "target remote";
|
||||
my $cmd = "target extended-remote";
|
||||
-f $ARGV[0] and $cmd = "core-file";
|
||||
print $fh "$cmd $ARGV[0]\n";
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue