On 12/10/23 15:06, Akihiko Odaki wrote:
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 <[email protected]>
---
  include/exec/gdbstub.h      |  4 +-
  target/arm/internals.h      | 12 +++---
  target/hexagon/internal.h   |  4 +-
  target/microblaze/cpu.h     |  4 +-
  gdbstub/gdbstub.c           |  6 +--
  target/arm/gdbstub.c        | 51 ++++++++++++++++--------
  target/arm/gdbstub64.c      | 27 +++++++++----
  target/hexagon/gdbstub.c    | 10 ++++-
  target/loongarch/gdbstub.c  | 11 ++++--
  target/m68k/helper.c        | 20 ++++++++--
  target/microblaze/gdbstub.c |  9 ++++-
  target/ppc/gdbstub.c        | 46 +++++++++++++++++-----
  target/riscv/gdbstub.c      | 46 ++++++++++++++++------
  target/s390x/gdbstub.c      | 77 ++++++++++++++++++++++++++++---------
  14 files changed, 236 insertions(+), 91 deletions(-)

Reviewed-by: Philippe Mathieu-Daudé <[email protected]>


Reply via email to