Following the incompatible implementation of the 'x' packet between
lldb and gdb, gdb now only uses the x packet if the gdbserver
reports binary-upload+ in qSupported.
Tested with gdb 16.1, gdb 16 branch and gdb 17 trunk, each time checking
the 'x' packet was effectively used.
/* Note: max packet size including frame and checksum, but without
trailing null byte, which is not sent/received. */
+ strcat (arg_own_buf, ";binary-upload+");
+
strcat (arg_own_buf, ";QStartNoAckMode+");
strcat (arg_own_buf, ";QPassSignals+");
strcat (arg_own_buf, ";QCatchSyscalls+");