mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 15:23:53 -06:00
gdbstub: Introduce GDBFeature structure
Before this change, the information from a XML file was stored in an array that is not descriptive. Introduce a dedicated structure type to make it easier to understand and to extend with more fields. Signed-off-by: Akihiko Odaki <akihiko.odaki@daynix.com> Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Reviewed-by: Alex Bennée <alex.bennee@linaro.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-Id: <20230912224107.29669-6-akihiko.odaki@daynix.com> Signed-off-by: Alex Bennée <alex.bennee@linaro.org> Message-Id: <20231009164104.369749-13-alex.bennee@linaro.org>
This commit is contained in:
parent
1063693e1c
commit
956af7daad
7 changed files with 63 additions and 79 deletions
|
@ -1,6 +1,6 @@
|
|||
#include "qemu/osdep.h"
|
||||
#include "exec/gdbstub.h" /* xml_builtin */
|
||||
#include "exec/gdbstub.h" /* gdb_static_features */
|
||||
|
||||
const char *const xml_builtin[][2] = {
|
||||
{ NULL, NULL }
|
||||
const GDBFeature gdb_static_features[] = {
|
||||
{ NULL }
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue