Re: [PATCH v5 08/22] gdbstub: extend GByteArray to read register helpers

2020-01-16 Thread Damien Hedde
On 1/14/20 4:09 PM, Alex Bennée wrote: > Instead of passing a pointer to memory now just extend the GByteArray > to all the read register helpers. They can then safely append their > data through the normal way. We don't bother with this abstraction for > write registers as we have already

Re: [PATCH v5 08/22] gdbstub: extend GByteArray to read register helpers

2020-01-14 Thread David Gibson
On Tue, Jan 14, 2020 at 03:09:39PM +, Alex Bennée wrote: > Instead of passing a pointer to memory now just extend the GByteArray > to all the read register helpers. They can then safely append their > data through the normal way. We don't bother with this abstraction for > write registers as

[PATCH v5 08/22] gdbstub: extend GByteArray to read register helpers

2020-01-14 Thread Alex Bennée
Instead of passing a pointer to memory now just extend the GByteArray to all the read register helpers. They can then safely append their data through the normal way. We don't bother with this abstraction for write registers as we have already ensured the buffer being copied from is the correct