scripts: use extended-remote for greater compatibility
[openwrt/svn-archive/archive.git] / scripts / remote-gdb
index 98ec768f4bdc4a55d19818622556a47dbf755902..ce96dd2c436ce29d2e4ac818384a5e31658a0c9b 100755 (executable)
@@ -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";