From: Alexandra Petlanova Hajkova <ahajkova@redhat.com>
To: "Rohr, Stephan" <stephan.rohr@intel.com>
Cc: "gdb-patches@sourceware.org" <gdb-patches@sourceware.org>
Subject: Re: [PATCH 2/2] mangle_style: Add new DWARF5 constants
Date: Mon, 9 Dec 2024 16:37:59 +0100 [thread overview]
Message-ID: <CAJVr-EN76HRKEWYABsNojugBa_8ueP8jGimhjmU6CPHf3tmztA@mail.gmail.com> (raw)
In-Reply-To: <DS7PR11MB62478942FBD16A80CB35D358933C2@DS7PR11MB6247.namprd11.prod.outlook.com>
[-- Attachment #1: Type: text/plain, Size: 1471 bytes --]
On Mon, Dec 9, 2024 at 11:51 AM Rohr, Stephan <stephan.rohr@intel.com>
wrote:
> Hi Alexandra,
>
> just a small nit.
>
> Stephan
>
> > -----Original Message-----
> > From: Alexandra Hájková <ahajkova@redhat.com>
> > Sent: Monday, 9 December 2024 11:21
> > To: gdb-patches@sourceware.org
> > Cc: ahajkova@redhat.com
> > Subject: [PATCH 2/2] mangle_style: Add new DWARF5 constants
> >
> > Update bfd/dwarf2.c with the new DWARF5 language codes to
> > make it possible to return the mangling style for the new
> > language codes for Ada 2005 and 20015, Fortran 18 and 23,
> > C++ 20 and 23, C 17 and 23 and Assembly.
> > ---
> > bfd/dwarf2.c | 9 +++++++++
> > 1 file changed, 9 insertions(+)
> >
> > diff --git a/bfd/dwarf2.c b/bfd/dwarf2.c
> > index 151ed0237ca..ec298764c8a 100644
> > --- a/bfd/dwarf2.c
> > +++ b/bfd/dwarf2.c
> > @@ -1725,12 +1725,16 @@ mangle_style (int lang)
> > {
> > case DW_LANG_Ada83:
> > case DW_LANG_Ada95:
> > + case DW_LANG_Ada2005:
> > + case DW_LANG_Ada2012:
> > return DMGL_GNAT;
> >
> > case DW_LANG_C_plus_plus:
> > case DW_LANG_C_plus_plus_03:
> > case DW_LANG_C_plus_plus_11:
> > case DW_LANG_C_plus_plus_14:
> > + case DW_LANG_C_plus_plus_20:
> > + case DW_LANG_C_plus_plus_23:
> > return DMGL_GNU_V3;
> >
>
> Should we add `DW_LANG_C_plus_plus_17`, too?
>
> You re absolutely right, I forgot to add it.
>
Thank you!
[-- Attachment #2: Type: text/html, Size: 2257 bytes --]
prev parent reply other threads:[~2024-12-09 15:43 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-12-09 10:20 [PATCH 1/2] dwarf_lang_to_enum_language: Map " Alexandra Hájková
2024-12-09 10:20 ` [PATCH 2/2] mangle_style: Add " Alexandra Hájková
2024-12-09 10:51 ` Rohr, Stephan
2024-12-09 15:37 ` Alexandra Petlanova Hajkova [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAJVr-EN76HRKEWYABsNojugBa_8ueP8jGimhjmU6CPHf3tmztA@mail.gmail.com \
--to=ahajkova@redhat.com \
--cc=gdb-patches@sourceware.org \
--cc=stephan.rohr@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox