qemu-e2k/gdbstub
Alex Bennée 56e534bd11 gdbstub: refactor get_feature_xml
Try to bring up the code to more modern standards by:

  - use dynamic GString built xml over a fixed buffer
  - use autofree to save on explicit g_free() calls
  - don't hand hack strstr to find the delimiter
  - fix up style of xml_builtin and invert loop

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20230829161528.2707696-11-alex.bennee@linaro.org>
2023-08-30 14:57:56 +01:00
..
gdbstub.c gdbstub: refactor get_feature_xml 2023-08-30 14:57:56 +01:00
internals.h gdbstub: refactor get_feature_xml 2023-08-30 14:57:56 +01:00
meson.build meson: Replace softmmu_ss -> system_ss 2023-06-20 10:01:30 +02:00
softmmu.c gdbstub: lightly refactor connection to avoid snprintf 2023-07-03 12:52:30 +01:00
syscalls.c gdbstub: Build syscall.c once 2023-03-07 20:44:09 +00:00
trace-events gdbstub: more fixes for client Ctrl-C handling 2023-08-10 11:04:34 -07:00
trace.h
user-target.c gdbstub: Add support for info proc mappings 2023-07-03 12:52:34 +01:00
user.c gdbstub: only send stop-reply packets when allowed to 2023-05-18 12:40:52 -07:00