[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 08/16] semihosting: Include missing 'gdbstub/syscalls.h' header
From: |
Alex Bennée |
Subject: |
[PULL 08/16] semihosting: Include missing 'gdbstub/syscalls.h' header |
Date: |
Mon, 22 Jul 2024 12:04:05 +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>
Message-Id: <20240718094523.1198645-9-alex.bennee@linaro.org>
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
- [PULL 00/16] Final bits for 9.1-rc0 (docker, plugins, gdbstub, semihosting), Alex Bennée, 2024/07/22
- [PULL 01/16] testing: bump to latest libvirt-ci, Alex Bennée, 2024/07/22
- [PULL 02/16] tests/avocado: Remove non-working sparc leon3 test, Alex Bennée, 2024/07/22
- [PULL 04/16] plugins/stoptrigger: TCG plugin to stop execution under conditions, Alex Bennée, 2024/07/22
- [PULL 03/16] gdbstub: Re-factor gdb command extensions, Alex Bennée, 2024/07/22
- [PULL 07/16] plugins/execlog.c: correct dump of registers values, Alex Bennée, 2024/07/22
- [PULL 05/16] plugins: fix mem callback array size, Alex Bennée, 2024/07/22
- [PULL 09/16] target/m68k: Add semihosting stub, Alex Bennée, 2024/07/22
- [PULL 08/16] semihosting: Include missing 'gdbstub/syscalls.h' header,
Alex Bennée <=
- [PULL 12/16] target/mips: Restrict semihosting to TCG, Alex Bennée, 2024/07/22
- [PULL 16/16] tests/tcg/aarch64: Fix test-mte.py, Alex Bennée, 2024/07/22
- [PULL 06/16] tests/plugins: use qemu_plugin_outs for inline stats, Alex Bennée, 2024/07/22
- [PULL 10/16] target/mips: Add semihosting stub, Alex Bennée, 2024/07/22
- [PULL 15/16] semihosting: Restrict to TCG, Alex Bennée, 2024/07/22
- [PULL 11/16] target/m68k: Restrict semihosting to TCG, Alex Bennée, 2024/07/22
- [PULL 14/16] target/xtensa: Restrict semihosting to TCG, Alex Bennée, 2024/07/22
- [PULL 13/16] target/riscv: Restrict semihosting to TCG, Alex Bennée, 2024/07/22
- Re: [PULL 00/16] Final bits for 9.1-rc0 (docker, plugins, gdbstub, semihosting), Philippe Mathieu-Daudé, 2024/07/22