From eb37086fb0282a9a4f01ecbb618761d4853efc8c Mon Sep 17 00:00:00 2001 From: Akihiko Odaki Date: Tue, 27 Feb 2024 14:43:20 +0000 Subject: gdbstub: Add members to identify registers to GDBFeature MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit These members will be used to help plugins to identify registers. The added members in instances of GDBFeature dynamically generated by CPUs will be filled in later changes. Signed-off-by: Akihiko Odaki Message-Id: <20231213-gdb-v17-10-777047380591@daynix.com> Signed-off-by: Alex Bennée Message-Id: <20240227144335.1196131-15-alex.bennee@linaro.org> --- include/exec/gdbstub.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include') diff --git a/include/exec/gdbstub.h b/include/exec/gdbstub.h index 82a8afa..da9ddfe 100644 --- a/include/exec/gdbstub.h +++ b/include/exec/gdbstub.h @@ -13,12 +13,15 @@ typedef struct GDBFeature { const char *xmlname; const char *xml; + const char *name; + const char * const *regs; int num_regs; } GDBFeature; typedef struct GDBFeatureBuilder { GDBFeature *feature; GPtrArray *xml; + GPtrArray *regs; int base_reg; } GDBFeatureBuilder; -- cgit v1.1