From: Karl Palsson <ka...@remake.is>

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 <ka...@remake.is>
---

Resend for new patchwork instance.

 scripts/remote-gdb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/remote-gdb b/scripts/remote-gdb
index 380a225..2c08f14 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";
 
-- 
1.8.3.1
_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Reply via email to