[PATCH 0/8] gdbstub and TCG plugin improvements

Akihiko Odaki posted 8 patches 1 year, 2 months ago
Failed in applying to current master (apply log)
There is a newer version of this series
MAINTAINERS               |  2 +-
meson.build               |  2 +-
gdbstub/internals.h       |  2 +-
include/exec/gdbstub.h    | 17 ++++------
include/hw/core/cpu.h     |  2 +-
target/ppc/internal.h     |  2 +-
contrib/plugins/execlog.c | 16 +++++----
gdbstub/gdbstub.c         | 63 +++++++++++++++--------------------
gdbstub/softmmu.c         |  3 +-
gdbstub/user.c            |  1 -
stubs/gdbstub.c           |  6 ++--
target/arm/cpu.c          |  9 ++---
target/arm/cpu64.c        |  4 +--
target/arm/gdbstub.c      | 32 ++----------------
target/i386/cpu.c         |  6 ++--
target/loongarch/cpu.c    |  4 +--
target/ppc/gdbstub.c      | 24 ++------------
target/riscv/cpu.c        |  6 ++--
target/s390x/cpu.c        |  4 +--
target/tricore/cpu.c      |  4 +--
scripts/feature_to_c.py   | 48 +++++++++++++++++++++++++++
scripts/feature_to_c.sh   | 69 ---------------------------------------
22 files changed, 124 insertions(+), 202 deletions(-)
create mode 100755 scripts/feature_to_c.py
delete mode 100644 scripts/feature_to_c.sh
[PATCH 0/8] gdbstub and TCG plugin improvements
Posted by Akihiko Odaki 1 year, 2 months ago
This series extracts fixes and refactorings that can be applied
independently from "[PATCH RESEND v5 00/26] plugins: Allow to read
registers" as suggested by Nicholas Piggin.

Patch "target/ppc: Remove references to gdb_has_xml" is also updated to
remove some dead code I missed earlier and thus the Reviewed-by tag is
dropped.

Akihiko Odaki (8):
  contrib/plugins: Use GRWLock in execlog
  gdbstub: Introduce GDBFeature structure
  target/arm: Move the reference to arm-core.xml
  hw/core/cpu: Return static value with gdb_arch_name()
  gdbstub: Dynamically allocate target.xml buffer
  target/arm: Remove references to gdb_has_xml
  target/ppc: Remove references to gdb_has_xml
  gdbstub: Remove gdb_has_xml variable

 MAINTAINERS               |  2 +-
 meson.build               |  2 +-
 gdbstub/internals.h       |  2 +-
 include/exec/gdbstub.h    | 17 ++++------
 include/hw/core/cpu.h     |  2 +-
 target/ppc/internal.h     |  2 +-
 contrib/plugins/execlog.c | 16 +++++----
 gdbstub/gdbstub.c         | 63 +++++++++++++++--------------------
 gdbstub/softmmu.c         |  3 +-
 gdbstub/user.c            |  1 -
 stubs/gdbstub.c           |  6 ++--
 target/arm/cpu.c          |  9 ++---
 target/arm/cpu64.c        |  4 +--
 target/arm/gdbstub.c      | 32 ++----------------
 target/i386/cpu.c         |  6 ++--
 target/loongarch/cpu.c    |  4 +--
 target/ppc/gdbstub.c      | 24 ++------------
 target/riscv/cpu.c        |  6 ++--
 target/s390x/cpu.c        |  4 +--
 target/tricore/cpu.c      |  4 +--
 scripts/feature_to_c.py   | 48 +++++++++++++++++++++++++++
 scripts/feature_to_c.sh   | 69 ---------------------------------------
 22 files changed, 124 insertions(+), 202 deletions(-)
 create mode 100755 scripts/feature_to_c.py
 delete mode 100644 scripts/feature_to_c.sh

-- 
2.42.0