mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-07-27 12:23:53 -06:00
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>
This commit is contained in:
parent
5983a20a0b
commit
7ed79a9adb
1 changed files with 2 additions and 2 deletions
|
@ -7,15 +7,15 @@
|
||||||
# We build two versions of gdbstub, one for each mode
|
# We build two versions of gdbstub, one for each mode
|
||||||
libuser_ss.add(files(
|
libuser_ss.add(files(
|
||||||
'gdbstub.c',
|
'gdbstub.c',
|
||||||
|
'syscalls.c',
|
||||||
'user.c'
|
'user.c'
|
||||||
))
|
))
|
||||||
|
|
||||||
libsystem_ss.add(files(
|
libsystem_ss.add(files(
|
||||||
'gdbstub.c',
|
'gdbstub.c',
|
||||||
|
'syscalls.c',
|
||||||
'system.c'
|
'system.c'
|
||||||
))
|
))
|
||||||
|
|
||||||
common_ss.add(files('syscalls.c'))
|
|
||||||
|
|
||||||
# The user-target is specialised by the guest
|
# The user-target is specialised by the guest
|
||||||
specific_ss.add(when: 'CONFIG_USER_ONLY', if_true: files('user-target.c'))
|
specific_ss.add(when: 'CONFIG_USER_ONLY', if_true: files('user-target.c'))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue