This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: Patch: merge src and gcc copies of dwarf2.h
- From: Ian Lance Taylor <iant at google dot com>
- To: Tom Tromey <tromey at redhat dot com>
- Cc: Jakub Jelinek <jakub at redhat dot com>, gcc-patches at gcc dot gnu dot org, Binutils Development <binutils at sourceware dot org>, gdb-patches at sourceware dot org
- Date: Wed, 01 Jul 2009 17:29:46 -0700
- Subject: Re: Patch: merge src and gcc copies of dwarf2.h
- References: <m37hz8rksr.fsf@fleche.redhat.com> <m3vdmridce.fsf@google.com> <m363eeaoz0.fsf@fleche.redhat.com> <m3k52u3j58.fsf@google.com> <m3ocs67fs9.fsf@fleche.redhat.com> <20090630195100.GT3101@sunsite.ms.mff.cuni.cz> <m3ab3p5w3d.fsf@fleche.redhat.com> <m3ab3o2hkp.fsf@fleche.redhat.com>
Tom Tromey <tromey@redhat.com> writes:
> 2009-07-01 Tom Tromey <tromey@redhat.com>
>
> * unwind-dw2-fde-darwin.c: Include dwarf2.h.
> * config/mmix/mmix.c: Include dwarf2.h.
> * config/rs6000/darwin-fallback.c: Include dwarf2.h.
> * config/xtensa/unwind-dw2-xtensa.c: Include dwarf2.h.
> * config/sh/sh.c: Include dwarf2.h.
> * config/i386/i386.c: Include dwarf2.h.
> * Makefile.in (DWARF2_H): Remove 'elf'.
> * except.c: Include dwarf2.h.
> * unwind-dw2.c: Include dwarf2.h.
> * dwarf2out.c: Include dwarf2.h.
> * unwind-dw2-fde-glibc.c: Include dwarf2.h.
> * unwind-dw2-fde.c: Include dwarf2.h.
> * dwarf2asm.c: Include dwarf2.h.
>
> 2009-07-01 Tom Tromey <tromey@redhat.com>
>
> * raise-gcc.c: Include dwarf2h (unconditionally).
>
> 2009-07-01 Tom Tromey <tromey@redhat.com>
>
> * elf/dwarf2.h: Remove, renaming to...
> * dwarf2.h: ... this.
I'm not sure I really understand what the problem is. After all, we
already share files in the include directory between gcc and src. But
if this seems like the right patch to make, it's OK.
Thanks.
Ian