qemu-ppc
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v11 09/18] gdbstub: Change gdb_get_reg_cb and gdb_set_reg_cb


From: Philippe Mathieu-Daudé
Subject: Re: [PATCH v11 09/18] gdbstub: Change gdb_get_reg_cb and gdb_set_reg_cb
Date: Thu, 12 Oct 2023 15:40:00 +0200
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.15.1

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 <akihiko.odaki@daynix.com>
---
  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é <philmd@linaro.org>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]