Skip to content
Snippets Groups Projects
Commit c399f986 authored by John Crispin's avatar John Crispin
Browse files

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: default avatarKarl Palsson <karlp@remake.is>

SVN-Revision: 43596
parent a8d0b415
No related branches found
No related tags found
No related merge requests found
......@@ -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";
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment