diff options
author | John Crispin <john@openwrt.org> | 2014-12-10 15:50:52 +0000 |
---|---|---|
committer | John Crispin <john@openwrt.org> | 2014-12-10 15:50:52 +0000 |
commit | c399f986899e9fc311c4c6a3870fc16770941a1c (patch) | |
tree | cb21fc5eb48ead5ffff8e4182189e7cb518c845f /scripts | |
parent | a8d0b4153090e64c8a0222b6afe265edae039da8 (diff) | |
download | mtk-20170518-c399f986899e9fc311c4c6a3870fc16770941a1c.zip mtk-20170518-c399f986899e9fc311c4c6a3870fc16770941a1c.tar.gz mtk-20170518-c399f986899e9fc311c4c6a3870fc16770941a1c.tar.bz2 |
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>
SVN-Revision: 43596
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/remote-gdb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/remote-gdb b/scripts/remote-gdb index 98ec768..ce96dd2 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"; |