aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xscripts/remote-gdb2
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";