[PATCH] Recognize new DWARFv5 C11, C++11 and C++14 DW_LANG constants.
Mark Wielaard
mjw@redhat.com
Wed Nov 26 11:48:00 GMT 2014
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
More information about the Gdb-patches
mailing list