On 2/27/26 1:39 PM, Philippe Mathieu-Daudé wrote:
Record the base register index in the generated C file.
Check at runtime that either @g_pos argument of
gdb_register_coprocessor() is zero, or it the base register
index.
This change pass 'make check-tcg' test suite, which runs the
tests/tcg/multiarch/gdbstub/registers.py test, itself calling
gdb_register_coprocessor() for each target tested.
Signed-off-by: Philippe Mathieu-Daudé <[email protected]>
---
include/exec/gdbstub.h | 1 +
gdbstub/gdbstub.c | 2 ++
scripts/feature_to_c.py | 1 +
3 files changed, 4 insertions(+)
Reviewed-by: Pierrick Bouvier <[email protected]>