qemu/target
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
..
alpha gdbstub: extend GByteArray to read register helpers 2020-03-17 17:38:38 +00:00
arm gdbstub: extend GByteArray to read register helpers 2020-03-17 17:38:38 +00:00
cris gdbstub: extend GByteArray to read register helpers 2020-03-17 17:38:38 +00:00
hppa gdbstub: extend GByteArray to read register helpers 2020-03-17 17:38:38 +00:00
i386 gdbstub: extend GByteArray to read register helpers 2020-03-17 17:38:38 +00:00
lm32 gdbstub: extend GByteArray to read register helpers 2020-03-17 17:38:38 +00:00
m68k gdbstub: extend GByteArray to read register helpers 2020-03-17 17:38:38 +00:00
microblaze gdbstub: extend GByteArray to read register helpers 2020-03-17 17:38:38 +00:00
mips gdbstub: extend GByteArray to read register helpers 2020-03-17 17:38:38 +00:00
moxie cpu: Use cpu_class_set_parent_reset() 2020-01-24 20:59:06 +01:00
nios2 gdbstub: extend GByteArray to read register helpers 2020-03-17 17:38:38 +00:00
openrisc gdbstub: extend GByteArray to read register helpers 2020-03-17 17:38:38 +00:00
ppc gdbstub: extend GByteArray to read register helpers 2020-03-17 17:38:38 +00:00
riscv gdbstub: extend GByteArray to read register helpers 2020-03-17 17:38:38 +00:00
s390x gdbstub: extend GByteArray to read register helpers 2020-03-17 17:38:38 +00:00
sh4 gdbstub: extend GByteArray to read register helpers 2020-03-17 17:38:38 +00:00
sparc gdbstub: extend GByteArray to read register helpers 2020-03-17 17:38:38 +00:00
tilegx cpu: Use cpu_class_set_parent_reset() 2020-01-24 20:59:06 +01:00
tricore cpu: Use cpu_class_set_parent_reset() 2020-01-24 20:59:06 +01:00
unicore32 tcg: Search includes from the project root source directory 2020-01-15 15:13:10 -10:00
xtensa gdbstub: extend GByteArray to read register helpers 2020-03-17 17:38:38 +00:00