[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v4 1/8] semihosting: Include missing 'gdbstub/syscalls.h' header
From: |
Philippe Mathieu-Daudé |
Subject: |
[PATCH v4 1/8] semihosting: Include missing 'gdbstub/syscalls.h' header |
Date: |
Wed, 17 Jul 2024 12:57:16 +0200 |
"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>
---
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.41.0
- [PATCH v4 0/8] semihosting: Restrict to TCG, Philippe Mathieu-Daudé, 2024/07/17
- [PATCH v4 1/8] semihosting: Include missing 'gdbstub/syscalls.h' header,
Philippe Mathieu-Daudé <=
- [PATCH v4 2/8] target/m68k: Add semihosting stub, Philippe Mathieu-Daudé, 2024/07/17
- [PATCH v4 3/8] target/mips: Add semihosting stub, Philippe Mathieu-Daudé, 2024/07/17
- [PATCH v4 4/8] target/m68k: Restrict semihosting to TCG, Philippe Mathieu-Daudé, 2024/07/17
- [PATCH v4 5/8] target/mips: Restrict semihosting to TCG, Philippe Mathieu-Daudé, 2024/07/17
- [PATCH v4 6/8] target/riscv: Restrict semihosting to TCG, Philippe Mathieu-Daudé, 2024/07/17
- [PATCH v4 7/8] target/xtensa: Restrict semihosting to TCG, Philippe Mathieu-Daudé, 2024/07/17
- [PATCH v4 8/8] semihosting: Restrict to TCG, Philippe Mathieu-Daudé, 2024/07/17
- Re: [PATCH v4 0/8] semihosting: Restrict to TCG, Alex Bennée, 2024/07/17