]> git.ipfire.org Git - thirdparty/qemu.git/commit
gdbstub: Change gdb_get_reg_cb and gdb_set_reg_cb
authorAkihiko Odaki <akihiko.odaki@daynix.com>
Tue, 27 Feb 2024 14:43:16 +0000 (14:43 +0000)
committerAlex Bennée <alex.bennee@linaro.org>
Wed, 28 Feb 2024 09:09:49 +0000 (09:09 +0000)
commit66260159a72ecd6c384197ba3d6e6f660ca5b482
tree85b6384505e6c3df71d1c0b22d48c231e2939189
parentc494f8f5299995fb7a0b0f5d621083f23ff3e5e8
gdbstub: Change gdb_get_reg_cb and gdb_set_reg_cb

Align the parameters of gdb_get_reg_cb and gdb_set_reg_cb with the
gdb_read_register and gdb_write_register members of CPUClass to allow
to unify the logic to access registers of the core and coprocessors
in the future.

Signed-off-by: Akihiko Odaki <akihiko.odaki@daynix.com>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20231213-gdb-v17-6-777047380591@daynix.com>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20240227144335.1196131-11-alex.bennee@linaro.org>
14 files changed:
gdbstub/gdbstub.c
include/exec/gdbstub.h
target/arm/gdbstub.c
target/arm/gdbstub64.c
target/arm/internals.h
target/hexagon/gdbstub.c
target/hexagon/internal.h
target/loongarch/gdbstub.c
target/m68k/helper.c
target/microblaze/cpu.h
target/microblaze/gdbstub.c
target/ppc/gdbstub.c
target/riscv/gdbstub.c
target/s390x/gdbstub.c