diff options
| author | Akihiko Odaki <akihiko.odaki@daynix.com> | 2024-02-27 14:43:14 +0000 |
|---|---|---|
| committer | Alex Bennée <alex.bennee@linaro.org> | 2024-02-28 09:09:34 +0000 |
| commit | ac1e86710000ba3cf2e80836fb3f66ba12b169b8 (patch) | |
| tree | 794aaa3c14f6c42e936212e4a29013649cc21e0a /include/exec/gdbstub.h | |
| parent | 33a24910aedaa184515b04921cc8a5dcccd99235 (diff) | |
| download | focaccia-qemu-ac1e86710000ba3cf2e80836fb3f66ba12b169b8.tar.gz focaccia-qemu-ac1e86710000ba3cf2e80836fb3f66ba12b169b8.zip | |
gdbstub: Use GDBFeature for gdb_register_coprocessor
This is a tree-wide change to introduce GDBFeature parameter to gdb_register_coprocessor(). The new parameter just replaces num_regs and xml parameters for now. GDBFeature will be utilized to simplify XML lookup in a following change. Signed-off-by: Akihiko Odaki <akihiko.odaki@daynix.com> Acked-by: Alex Bennée <alex.bennee@linaro.org> Message-Id: <20231213-gdb-v17-4-777047380591@daynix.com> Signed-off-by: Alex Bennée <alex.bennee@linaro.org> Message-Id: <20240227144335.1196131-9-alex.bennee@linaro.org>
Diffstat (limited to 'include/exec/gdbstub.h')
| -rw-r--r-- | include/exec/gdbstub.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/exec/gdbstub.h b/include/exec/gdbstub.h index d8a3c56fa2..ac6fce99a6 100644 --- a/include/exec/gdbstub.h +++ b/include/exec/gdbstub.h @@ -38,7 +38,7 @@ typedef int (*gdb_set_reg_cb)(CPUArchState *env, uint8_t *buf, int reg); */ void gdb_register_coprocessor(CPUState *cpu, gdb_get_reg_cb get_reg, gdb_set_reg_cb set_reg, - int num_regs, const char *xml, int g_pos); + const GDBFeature *feature, int g_pos); /** * gdbserver_start: start the gdb server |