Re: [PATCH 08/10] Handle "show remote memory-write-packet-size" when not connected

Simon Marchi
2018-05-22T02:53:13Z

On 2018-05-21 03:47 PM, Pedro Alves wrote:
> Yeah, I think the command itself it pretty obscure/weird.
>
> "0" means "default packet size". I.e., whatever packet size
> the remote can handle. And if you do
> "set remote memory-write-packet fixed", then GDB picks
> an arbitrary default...
> I've spent a few hours today staring at this, trying to
> come up with something reasonable-ish, and this is what
> I came up with. I even caught a bug. I don't think it's worth
> it to polish this much more, as this is a pretty obscure
> command that most probably nobody uses nowadays.
>
> WDYT?

This is completely reasonnable, thanks.

Simon