qemu/include/hw/core
Alex Bennée a010bdbe71 gdbstub: extend GByteArray to read register helpers
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 size.

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Acked-by: David Gibson <david@gibson.dropbear.id.au>
Reviewed-by: Damien Hedde <damien.hedde@greensocs.com>

Message-Id: <20200316172155.971-15-alex.bennee@linaro.org>
2020-03-17 17:38:38 +00:00
..
cpu.h gdbstub: extend GByteArray to read register helpers 2020-03-17 17:38:38 +00:00
generic-loader.h include: Make headers more self-contained 2019-08-16 13:31:51 +02:00
split-irq.h Include hw/irq.h a lot less 2019-08-16 13:31:52 +02:00