qemu-e2k/target/mips
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
..
Makefile.objs target/mips: Separate FPU-related helpers into their own file 2020-02-04 08:53:54 +01:00
TODO Move target-* CPU file into a target/ folder 2016-12-20 21:52:12 +01:00
cp0_helper.c target/mips: Separate CP0-related helpers into their own file 2020-02-04 08:53:54 +01:00
cp0_timer.c target/mips: Style improvements in cp0_timer.c 2019-08-19 19:53:37 +02:00
cpu-param.h tcg: Split out target/arch/cpu-param.h 2019-06-10 07:03:34 -07:00
cpu-qom.h hw/core: Move cpu.c, cpu.h from qom/ to hw/core/ 2019-08-21 13:24:01 +02:00
cpu.c cpu: Use cpu_class_set_parent_reset() 2020-01-24 20:59:06 +01:00
cpu.h target/mips: Add implementation of GINVT instruction 2020-01-29 19:28:52 +01:00
dsp_helper.c target/mips: Clean up dsp_helper.c 2019-06-01 20:20:20 +02:00
fpu_helper.c target/mips: Separate FPU-related helpers into their own file 2020-02-04 08:53:54 +01:00
gdbstub.c gdbstub: extend GByteArray to read register helpers 2020-03-17 17:38:38 +00:00
helper.c target/mips: Add implementation of GINVT instruction 2020-01-29 19:28:52 +01:00
helper.h target/mips: Add implementation of GINVT instruction 2020-01-29 19:28:52 +01:00
internal.h gdbstub: extend GByteArray to read register helpers 2020-03-17 17:38:38 +00:00
kvm.c kvm: introduce kvm_kernel_irqchip_* functions 2019-12-17 19:32:45 +01:00
kvm_mips.h target/mips: Clean up kvm_mips.h 2019-10-01 16:37:50 +02:00
lmi_helper.c target/mips: Clean up lmi_helper.c 2019-06-01 20:20:20 +02:00
machine.c target/mips: Amend CP0 WatchHi register implementation 2020-01-29 19:28:52 +01:00
mips-defs.h target/mips: Clean up mips-defs.h 2019-10-01 16:41:03 +02:00
mips-semi.c target/mips: semihosting: Remove 'uhi_done' label in helper_do_semihosting() 2020-01-29 19:28:52 +01:00
msa_helper.c target/mips: Refactor handling of vector compare 'less than' (signed) instructions 2019-10-25 18:37:01 +02:00
op_helper.c target/mips: Separate FPU-related helpers into their own file 2020-02-04 08:53:54 +01:00
trace-events trace-events: Shorten file names in comments 2019-03-22 16:18:07 +00:00
translate.c target/mips: Add implementation of GINVT instruction 2020-01-29 19:28:52 +01:00
translate_init.inc.c target/mips: Use env_cpu, env_archcpu 2019-06-10 07:03:42 -07:00