1# 2# The main gdbstub still relies on per-build definitions of various 3# types. The bits pushed to system/user.c try to use guest agnostic 4# types such as hwaddr. 5# 6 7# We build two versions of gdbstub, one for each mode 8libuser_ss.add(files( 9 'gdbstub.c', 10 'syscalls.c', 11 'user.c' 12)) 13 14libsystem_ss.add(files( 15 'gdbstub.c', 16 'syscalls.c', 17 'system.c' 18)) 19 20# The user-target is specialised by the guest 21specific_ss.add(when: 'CONFIG_USER_ONLY', if_true: files('user-target.c')) 22