This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] Recognize new DWARFv5 C11, C++11 and C++14 DW_LANG constants.
- From: Mark Wielaard <mjw at redhat dot com>
- To: Doug Evans <dje at google dot com>
- Cc: gdb-patches <gdb-patches at sourceware dot org>
- Date: Wed, 26 Nov 2014 12:48:51 +0100
- Subject: Re: [PATCH] Recognize new DWARFv5 C11, C++11 and C++14 DW_LANG constants.
- Authentication-results: sourceware.org; auth=none
- References: <1416859096-29132-1-git-send-email-mjw at redhat dot com> <CADPb22Ro5vcvDeidzMUwmkAng+5mo-1CUyoB4UenGYt76RQ=rw at mail dot gmail dot com>
On Mon, 2014-11-24 at 12:07 -0800, Doug Evans wrote:
> On Mon, Nov 24, 2014 at 11:58 AM, Mark Wielaard <mjw@redhat.com> wrote:
> > The following patch is needed to recognize the new DW_LANG constants
> > that GCC 5 might emit as implemented by this GCC patch:
> > https://gcc.gnu.org/ml/gcc-patches/2014-11/msg02852.html
> >
> > gdb/ChangeLog
> >
> > * dwarf2read.c (set_cu_language): Recognize DW_LANG_C11,
> > DW_LANG_C_plus_plus_11, DW_LANG_C_plus_plus_14.
> >
> > include/ChangeLog
> >
> > * dwarf2.h: Add DW_LANG_C_plus_plus_11, DW_LANG_C11 and
> > DW_LANG_C_plus_plus_14.
> >
> > OK to commit?
>
> dwarf2.h exists in the gcc tree and is therefore owned by gcc.
> As long as this part of the patch is in the gcc tree first,
> ok by me.
The dwarf2.h change is also in the gcc tree.
I have pushed the same with the above patch to the gdb tree.
Thanks,
Mark