aboutsummaryrefslogtreecommitdiff
path: root/gdbstub/gdbstub.c
diff options
context:
space:
mode:
authorAlex Bennée <alex.bennee@linaro.org>2023-08-29 17:15:28 +0100
committerAlex Bennée <alex.bennee@linaro.org>2023-08-30 14:57:59 +0100
commit8dd7a4b3487ab93ff8fddc5f818942ff39d4550f (patch)
tree5baa59a096ded1fb2c83f59fb0cb48abe594bb3a /gdbstub/gdbstub.c
parentd0e5fa849db4d729e0607ef597cb31eac79532a3 (diff)
downloadqemu-8dd7a4b3487ab93ff8fddc5f818942ff39d4550f.zip
qemu-8dd7a4b3487ab93ff8fddc5f818942ff39d4550f.tar.gz
qemu-8dd7a4b3487ab93ff8fddc5f818942ff39d4550f.tar.bz2
gdbstub: move comment for gdb_register_coprocessor
Use proper kdoc style comments for this API function. Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Signed-off-by: Alex Bennée <alex.bennee@linaro.org> Message-Id: <20230829161528.2707696-13-alex.bennee@linaro.org>
Diffstat (limited to 'gdbstub/gdbstub.c')
-rw-r--r--gdbstub/gdbstub.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/gdbstub/gdbstub.c b/gdbstub/gdbstub.c
index fdebfe2..349d348 100644
--- a/gdbstub/gdbstub.c
+++ b/gdbstub/gdbstub.c
@@ -456,12 +456,6 @@ static int gdb_write_register(CPUState *cpu, uint8_t *mem_buf, int reg)
return 0;
}
-/* Register a supplemental set of CPU registers. If g_pos is nonzero it
- specifies the first register number and these registers are included in
- a standard "g" packet. Direction is relative to gdb, i.e. get_reg is
- gdb reading a CPU register, and set_reg is gdb modifying a CPU register.
- */
-
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)