summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorRichard Henderson <richard.henderson@linaro.org>2025-03-12 14:37:07 -0700
committerRichard Henderson <richard.henderson@linaro.org>2025-04-23 14:08:29 -0700
commit7ed79a9adbeff0ff8a8b6c76d3d10b2fe0f68c63 (patch)
treeea0a2e8b479d33d6e4555b4ad7b3e56ac2e2fa26
parent5983a20a0bca7d54846abbb36fb59c7d9b1f226b (diff)
downloadfocaccia-qemu-7ed79a9adbeff0ff8a8b6c76d3d10b2fe0f68c63.tar.gz
focaccia-qemu-7ed79a9adbeff0ff8a8b6c76d3d10b2fe0f68c63.zip
gdbstub: Move syscalls.c out of common_ss
Copy to libuser_ss and libsystem_ss.
This file uses semihosting/semihost.h, which has separate
implementations with and without CONFIG_USER_ONLY.

Reviewed-by: Pierrick Bouvier <pierrick.bouvier@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
-rw-r--r--gdbstub/meson.build4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdbstub/meson.build b/gdbstub/meson.build
index 0e8099ae9c..b25db86767 100644
--- a/gdbstub/meson.build
+++ b/gdbstub/meson.build
@@ -7,15 +7,15 @@
 # We build two versions of gdbstub, one for each mode
 libuser_ss.add(files(
   'gdbstub.c',
+  'syscalls.c',
   'user.c'
 ))
 
 libsystem_ss.add(files(
   'gdbstub.c',
+  'syscalls.c',
   'system.c'
 ))
 
-common_ss.add(files('syscalls.c'))
-
 # The user-target is specialised by the guest
 specific_ss.add(when: 'CONFIG_USER_ONLY', if_true: files('user-target.c'))