Skip to content

Commit d96bf49

Browse files
committed
gdbstub: move chunks of user code into own files
The process was pretty similar to the softmmu move except we take the time to split stuff between user.c and user-target.c to avoid as much target specific compilation as possible. We also start to make use of our shiny new header scheme so the user-only helpers can be included without the rest of the exec/gsbstub.h cruft. As before we split some functions into user and softmmu versions Reviewed-by: Fabiano Rosas <[email protected]> Signed-off-by: Alex Bennée <[email protected]> Message-Id: <[email protected]> Message-Id: <[email protected]>
1 parent b6fa2ec commit d96bf49

File tree

13 files changed

+790
-696
lines changed

13 files changed

+790
-696
lines changed

MAINTAINERS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2743,6 +2743,7 @@ S: Maintained
27432743
F: docs/system/gdb.rst
27442744
F: gdbstub/*
27452745
F: include/exec/gdbstub.h
2746+
F: include/gdbstub/*
27462747
F: gdb-xml/
27472748
F: tests/tcg/multiarch/gdbstub/
27482749
F: scripts/feature_to_c.sh

bsd-user/main.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@
4444
#include "trace/control.h"
4545
#include "crypto/init.h"
4646
#include "qemu/guest-random.h"
47+
#include "gdbstub/user.h"
4748

4849
#include "host-os.h"
4950
#include "target_arch_cpu.h"

bsd-user/signal.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
#include "qemu/osdep.h"
2222
#include "qemu/log.h"
2323
#include "qemu.h"
24+
#include "gdbstub/user.h"
2425
#include "signal-common.h"
2526
#include "trace.h"
2627
#include "hw/core/tcg-cpu-ops.h"

0 commit comments

Comments
 (0)