aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAkihiko Odaki <akihiko.odaki@daynix.com>2024-02-27 14:43:20 +0000
committerAlex Bennée <alex.bennee@linaro.org>2024-02-28 09:10:11 +0000
commiteb37086fb0282a9a4f01ecbb618761d4853efc8c (patch)
treedd844d63515d355564e0982d484552f4ab78e919 /include
parentf1a5287fc30acb788c2210e5f2a18c3d4006a8dc (diff)
downloadqemu-eb37086fb0282a9a4f01ecbb618761d4853efc8c.zip
qemu-eb37086fb0282a9a4f01ecbb618761d4853efc8c.tar.gz
qemu-eb37086fb0282a9a4f01ecbb618761d4853efc8c.tar.bz2
gdbstub: Add members to identify registers to GDBFeature
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 <akihiko.odaki@daynix.com> Message-Id: <20231213-gdb-v17-10-777047380591@daynix.com> Signed-off-by: Alex Bennée <alex.bennee@linaro.org> Message-Id: <20240227144335.1196131-15-alex.bennee@linaro.org>
Diffstat (limited to 'include')
-rw-r--r--include/exec/gdbstub.h3
1 files changed, 3 insertions, 0 deletions
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;