[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v2 2/2] gdbstub: do not split gdb_monitor_write payload
From: |
Damien Hedde |
Subject: |
Re: [PATCH v2 2/2] gdbstub: do not split gdb_monitor_write payload |
Date: |
Thu, 12 Dec 2019 10:39:30 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.2.0 |
On 12/11/19 7:58 PM, Philippe Mathieu-Daudé wrote:
> On 12/11/19 5:05 PM, Damien Hedde wrote:
>> Since we can now send packets of arbitrary length:
>> simplify gdb_monitor_write() and send the whole payload
>> in one packet.
>
> While we can send arbitrary length on the wire, we advertise
> PacketSize=MAX_PACKET_LENGTH in handle_query_supported().
>
> We can raise this limit however.
Hi Philippe,
This parameter is only about the packet size we can handle (packets we
can receive).
--
Damien
[PATCH v2 1/2] gdbstub: change GDBState.last_packet to GByteArray, Damien Hedde, 2019/12/11