gdbstub: Use GDBFeature for gdb_register_coprocessor
authorAkihiko Odaki <akihiko.odaki@daynix.com>
Tue, 27 Feb 2024 14:43:14 +0000 (14:43 +0000)
committerAlex Bennée <alex.bennee@linaro.org>
Wed, 28 Feb 2024 09:09:34 +0000 (09:09 +0000)
commitac1e86710000ba3cf2e80836fb3f66ba12b169b8
tree794aaa3c14f6c42e936212e4a29013649cc21e0a
parent33a24910aedaa184515b04921cc8a5dcccd99235
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>
gdbstub/gdbstub.c
include/exec/gdbstub.h
target/arm/gdbstub.c
target/hexagon/cpu.c
target/loongarch/gdbstub.c
target/m68k/helper.c
target/microblaze/cpu.c
target/ppc/gdbstub.c
target/riscv/gdbstub.c
target/s390x/gdbstub.c