diff options
author | John Crispin <blogic@openwrt.org> | 2014-12-10 15:50:52 +0000 |
---|---|---|
committer | John Crispin <blogic@openwrt.org> | 2014-12-10 15:50:52 +0000 |
commit | b6471d5ff31d6249de8897a054e592ecf2712124 (patch) | |
tree | bbce92a77d9657f7f416fd02e7109e7dab1c014c | |
parent | f7f57a2dd05768ac8c3bdd56c518855c5959eeb3 (diff) | |
download | upstream-b6471d5ff31d6249de8897a054e592ecf2712124.tar.gz upstream-b6471d5ff31d6249de8897a054e592ecf2712124.tar.bz2 upstream-b6471d5ff31d6249de8897a054e592ecf2712124.zip |
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
-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 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"; |