From: John Crispin Date: Wed, 10 Dec 2014 15:50:52 +0000 (+0000) Subject: scripts: use extended-remote for greater compatibility X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=c399f986899e9fc311c4c6a3870fc16770941a1c;p=openwrt%2Fstaging%2Fneocturne.git 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 SVN-Revision: 43596 --- diff --git a/scripts/remote-gdb b/scripts/remote-gdb index 98ec768f4b..ce96dd2c43 100755 --- a/scripts/remote-gdb +++ b/scripts/remote-gdb @@ -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";