diff options
author | Alex Bennée <alex.bennee@linaro.org> | 2023-03-07 17:01:20 +0000 |
---|---|---|
committer | Alex Bennée <alex.bennee@linaro.org> | 2023-03-07 20:44:09 +0000 |
commit | ad66b5cbbb9a4f92e2a4f0af5902524bbd60ee67 (patch) | |
tree | f6960eef2db5f12efcea5f31d116e24b4edbe63c /stubs/semihost.c | |
parent | 0820a075af2ee1090217c59c3d8ec966907cec1c (diff) | |
download | qemu-ad66b5cbbb9a4f92e2a4f0af5902524bbd60ee67.zip qemu-ad66b5cbbb9a4f92e2a4f0af5902524bbd60ee67.tar.gz qemu-ad66b5cbbb9a4f92e2a4f0af5902524bbd60ee67.tar.bz2 |
stubs: split semihosting_get_target from system only stubs
As we are about to have a common syscalls.c for gdbstub we need to
stub out one semihosting helper function for all targets.
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20230307170405.796822-1-alex.bennee@linaro.org>
Diffstat (limited to 'stubs/semihost.c')
-rw-r--r-- | stubs/semihost.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/stubs/semihost.c b/stubs/semihost.c index d65c9fd..aad7a70 100644 --- a/stubs/semihost.c +++ b/stubs/semihost.c @@ -28,11 +28,6 @@ bool semihosting_enabled(bool is_user) return false; } -SemihostingTarget semihosting_get_target(void) -{ - return SEMIHOSTING_TARGET_AUTO; -} - /* * All the rest are empty subs. We could g_assert_not_reached() but * that adds extra weight to the final binary. Waste not want not. |