Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Joel Brobecker <brobecker@adacore.com>
To: gdb-patches@sourceware.org
Cc: Tom Tromey <tromey@redhat.com>
Subject: [RFA/dwarf 1/2]: Add DW_LANG_UPC support in set_cu_language.
Date: Wed, 15 May 2013 13:20:00 -0000	[thread overview]
Message-ID: <1368623983-10625-2-git-send-email-brobecker@adacore.com> (raw)
In-Reply-To: <1368623983-10625-1-git-send-email-brobecker@adacore.com>

Hello,

Pretty straightforward patch that could probably be checked in
as obvious, but since 2/2 is an RFA, no real harm in getting
more eyes on it.

gdb/ChangeLog:

        * dwarf2read.c (set_cu_language): Add DW_LANG_UPC handling.

Tested on x86_64-linux. No regression.  OK to commit?

Thanks,
-- 
Joel

---
 gdb/dwarf2read.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/gdb/dwarf2read.c b/gdb/dwarf2read.c
index ed5aea3..a17cd9d 100644
--- a/gdb/dwarf2read.c
+++ b/gdb/dwarf2read.c
@@ -14983,6 +14983,7 @@ set_cu_language (unsigned int lang, struct dwarf2_cu *cu)
     case DW_LANG_C89:
     case DW_LANG_C99:
     case DW_LANG_C:
+    case DW_LANG_UPC:
       cu->language = language_c;
       break;
     case DW_LANG_C_plus_plus:
-- 
1.7.10.4


  parent reply	other threads:[~2013-05-15 13:19 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-05-13 10:17 [RFA/commit] DWARF: Mark all Ada functions as prototyped Joel Brobecker
2013-05-13 15:31 ` Tom Tromey
2013-05-15 13:19   ` Joel Brobecker
2013-05-15 13:20     ` [RFA/dwarf 2/2] Mark all functions as prototyped except C functions Joel Brobecker
2013-05-15 15:11       ` Tom Tromey
2013-05-16  7:38         ` Joel Brobecker
2013-05-16  8:14           ` Joel Brobecker
2013-05-16 13:22             ` Tom Tromey
2013-05-17  5:07               ` Joel Brobecker
2013-05-17 15:06                 ` Tom Tromey
2013-05-20  9:48                   ` Checked in: " Joel Brobecker
2013-05-16 17:52           ` Stan Shebs
2013-05-15 13:20     ` Joel Brobecker [this message]
2013-05-15 15:04       ` [RFA/dwarf 1/2]: Add DW_LANG_UPC support in set_cu_language Tom Tromey
2013-05-16  7:40         ` Checked in: " Joel Brobecker

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=1368623983-10625-2-git-send-email-brobecker@adacore.com \
    --to=brobecker@adacore.com \
    --cc=gdb-patches@sourceware.org \
    --cc=tromey@redhat.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