Author: blogic
Date: 2014-12-10 16:50:52 +0100 (Wed, 10 Dec 2014)
New Revision: 43596

Modified:
   trunk/scripts/remote-gdb
Log:
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 <[email protected]>

Modified: trunk/scripts/remote-gdb
===================================================================
--- trunk/scripts/remote-gdb    2014-12-10 15:50:43 UTC (rev 43595)
+++ trunk/scripts/remote-gdb    2014-12-10 15:50:52 UTC (rev 43596)
@@ -61,7 +61,7 @@
                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";
 
_______________________________________________
openwrt-commits mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-commits

Reply via email to