[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH for-6.2 08/10] linux-user: Don't include gdbstub.h in qemu.h
|
From: |
Philippe Mathieu-Daudé |
|
Subject: |
Re: [PATCH for-6.2 08/10] linux-user: Don't include gdbstub.h in qemu.h |
|
Date: |
Sun, 18 Jul 2021 09:50:42 +0200 |
|
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0 |
On 7/18/21 1:21 AM, Peter Maydell wrote:
> Currently the linux-user qemu.h pulls in gdbstub.h. There's no real reason
> why it should do this; include it directly from the C files which require
> it, and drop the include line in qemu.h.
>
> (Note that several of the C files previously relying on this indirect
> include were going out of their way to only include gdbstub.h conditionally
> on not CONFIG_USER_ONLY!)
>
> Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
> ---
> linux-user/qemu.h | 1 -
> gdbstub.c | 2 +-
> linux-user/exit.c | 1 +
> linux-user/main.c | 1 +
> linux-user/signal.c | 2 ++
> semihosting/arm-compat-semi.c | 2 +-
> target/m68k/m68k-semi.c | 2 +-
> target/nios2/nios2-semi.c | 2 +-
> 8 files changed, 8 insertions(+), 5 deletions(-)
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
- [PATCH for-6.2 01/10] linux-user: Fix coding style nits in qemu.h, (continued)
- [PATCH for-6.2 01/10] linux-user: Fix coding style nits in qemu.h, Peter Maydell, 2021/07/17
- [PATCH for-6.2 03/10] linux-user: Split signal-related prototypes into sighandling.h, Peter Maydell, 2021/07/17
- [PATCH for-6.2 05/10] linux-user: Split mmap prototypes into user-mmap.h, Peter Maydell, 2021/07/17
- [PATCH for-6.2 04/10] linux-user: Split loader-related prototypes into loader.h, Peter Maydell, 2021/07/17
- [PATCH for-6.2 06/10] linux-user: Split safe-syscall macro into its own header, Peter Maydell, 2021/07/17
- [PATCH for-6.2 08/10] linux-user: Don't include gdbstub.h in qemu.h, Peter Maydell, 2021/07/17
- Re: [PATCH for-6.2 08/10] linux-user: Don't include gdbstub.h in qemu.h,
Philippe Mathieu-Daudé <=
- [PATCH for-6.2 10/10] linux-user: Move DEBUG_REMAP undef to uaccess.c, Peter Maydell, 2021/07/17
- [PATCH for-6.2 07/10] linux-user: Split linux-user internals out of qemu.h, Peter Maydell, 2021/07/17
- [PATCH for-6.2 09/10] linux-user: Drop unneeded includes from qemu.h, Peter Maydell, 2021/07/17