[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 39/50] gdbstub: remove includes from gdbstub-xml
From: |
Markus Armbruster |
Subject: |
Re: [Qemu-devel] [PATCH 39/50] gdbstub: remove includes from gdbstub-xml.c |
Date: |
Mon, 18 Apr 2016 15:54:47 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) |
Paolo Bonzini <address@hidden> writes:
> gdbstub-xml.c defines a bunch of arrays of strings; there is no
> need to include anything.
>
> Signed-off-by: Paolo Bonzini <address@hidden>
> ---
> scripts/feature_to_c.sh | 3 ---
> 1 file changed, 3 deletions(-)
>
> diff --git a/scripts/feature_to_c.sh b/scripts/feature_to_c.sh
> index fb1f336..0994d95 100644
> --- a/scripts/feature_to_c.sh
> +++ b/scripts/feature_to_c.sh
> @@ -36,9 +36,6 @@ for input; do
> arrayname=xml_feature_`echo $input | sed 's,.*/,,; s/[-.]/_/g'`
>
> ${AWK:-awk} 'BEGIN { n = 0
> - printf "#include \"qemu/osdep.h\"\n"
> - printf "#include \"qemu-common.h\"\n"
> - printf "#include \"exec/gdbstub.h\"\n"
> print "static const char '$arrayname'[] = {"
> for (i = 0; i < 255; i++)
> _ord_[sprintf("%c", i)] = i
We might want to include osdep.h anyway, just to avoid adding an
exception to the rule "any C file must include qemu/osdep.h first."
- [Qemu-devel] [PATCH 27/50] arm: remove useless cpu.h inclusion, (continued)
- [Qemu-devel] [PATCH 27/50] arm: remove useless cpu.h inclusion, Paolo Bonzini, 2016/04/08
- [Qemu-devel] [PATCH 28/50] explicitly include qom/cpu.h, Paolo Bonzini, 2016/04/08
- [Qemu-devel] [PATCH 26/50] ppc: use PowerPCCPU instead of CPUPPCState, Paolo Bonzini, 2016/04/08
- [Qemu-devel] [PATCH 31/50] apic: move target-dependent definitions to cpu.h, Paolo Bonzini, 2016/04/08
- [Qemu-devel] [PATCH 38/50] qemu-common: stop including qemu/host-utils.h from qemu-common.h, Paolo Bonzini, 2016/04/08
- [Qemu-devel] [PATCH 42/50] acpi: do not use TARGET_PAGE_SIZE, Paolo Bonzini, 2016/04/08
- [Qemu-devel] [PATCH 41/50] s390x: move stuff out of cpu.h, Paolo Bonzini, 2016/04/08
- [Qemu-devel] [PATCH 39/50] gdbstub: remove includes from gdbstub-xml.c, Paolo Bonzini, 2016/04/08
- Re: [Qemu-devel] [PATCH 39/50] gdbstub: remove includes from gdbstub-xml.c,
Markus Armbruster <=
- [Qemu-devel] [PATCH 43/50] qemu-common: push cpu.h inclusion out of qemu-common.h, Paolo Bonzini, 2016/04/08
- [Qemu-devel] [PATCH 40/50] dma: do not depend on kvm_enabled(), Paolo Bonzini, 2016/04/08
- [Qemu-devel] [PATCH 44/50] arm: move arm_log_exception into .c file, Paolo Bonzini, 2016/04/08
- [Qemu-devel] [PATCH 45/50] mips: move CP0 functions out of cpu.h, Paolo Bonzini, 2016/04/08
- [Qemu-devel] [PATCH 49/50] hw: remove pio_addr_t, Paolo Bonzini, 2016/04/08
- [Qemu-devel] [PATCH 46/50] hw: explicitly include qemu/log.h, Paolo Bonzini, 2016/04/08