[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 08/15] semihosting: Include missing 'gdbstub/syscalls.h' header
From: |
Alex Bennée |
Subject: |
[PATCH 08/15] semihosting: Include missing 'gdbstub/syscalls.h' header |
Date: |
Thu, 18 Jul 2024 10:45:16 +0100 |
From: Philippe Mathieu-Daudé <philmd@linaro.org>
"semihosting/syscalls.h" requires definitions from
"gdbstub/syscalls.h", include it in order to avoid:
include/semihosting/syscalls.h:23:38: error: unknown type name
'gdb_syscall_complete_cb'
void semihost_sys_open(CPUState *cs, gdb_syscall_complete_cb complete,
^
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-Id: <20240717105723.58965-2-philmd@linaro.org>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
---
include/semihosting/syscalls.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/include/semihosting/syscalls.h b/include/semihosting/syscalls.h
index 3a5ec229eb..b5937c619a 100644
--- a/include/semihosting/syscalls.h
+++ b/include/semihosting/syscalls.h
@@ -9,6 +9,8 @@
#ifndef SEMIHOSTING_SYSCALLS_H
#define SEMIHOSTING_SYSCALLS_H
+#include "gdbstub/syscalls.h"
+
/*
* Argument loading from the guest is performed by the caller;
* results are returned via the 'complete' callback.
--
2.39.2
- [PATCH 02/15] tests/avocado: Remove non-working sparc leon3 test, (continued)
- [PATCH 02/15] tests/avocado: Remove non-working sparc leon3 test, Alex Bennée, 2024/07/18
- [PATCH 06/15] tests/plugins: use qemu_plugin_outs for inline stats, Alex Bennée, 2024/07/18
- [PATCH 07/15] plugins/execlog.c: correct dump of registers values, Alex Bennée, 2024/07/18
- [PATCH 05/15] plugins: fix mem callback array size, Alex Bennée, 2024/07/18
- [PATCH 09/15] target/m68k: Add semihosting stub, Alex Bennée, 2024/07/18
- [PATCH 11/15] target/m68k: Restrict semihosting to TCG, Alex Bennée, 2024/07/18
- [PATCH 10/15] target/mips: Add semihosting stub, Alex Bennée, 2024/07/18
- [PATCH 12/15] target/mips: Restrict semihosting to TCG, Alex Bennée, 2024/07/18
- [PATCH 08/15] semihosting: Include missing 'gdbstub/syscalls.h' header,
Alex Bennée <=
- [PATCH 14/15] target/xtensa: Restrict semihosting to TCG, Alex Bennée, 2024/07/18
- [PATCH 13/15] target/riscv: Restrict semihosting to TCG, Alex Bennée, 2024/07/18
- [PATCH 15/15] semihosting: Restrict to TCG, Alex Bennée, 2024/07/18