Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Tom Tromey <tom@tromey.com>
To: gdb-patches@sourceware.org
Cc: Tom Tromey <tom@tromey.com>
Subject: [PATCH 1/8] Add DW_LANG_Rust and DW_LANG_Rust_old
Date: Wed, 27 Apr 2016 02:50:00 -0000	[thread overview]
Message-ID: <1461725371-17620-2-git-send-email-tom@tromey.com> (raw)
In-Reply-To: <1461725371-17620-1-git-send-email-tom@tromey.com>

I include this patch for completeness.  I've already submitted it to
gcc-patches for review:

https://gcc.gnu.org/ml/gcc-patches/2016-04/msg01560.html
---
 include/dwarf2.h | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/include/dwarf2.h b/include/dwarf2.h
index bc5424a..1a145aa 100644
--- a/include/dwarf2.h
+++ b/include/dwarf2.h
@@ -308,6 +308,7 @@ enum dwarf_source_language
     DW_LANG_Go = 0x0016,
 
     DW_LANG_C_plus_plus_11 = 0x001a, /* dwarf5.20141029.pdf DRAFT */
+    DW_LANG_Rust = 0x001c,
     DW_LANG_C11 = 0x001d,
     DW_LANG_C_plus_plus_14 = 0x0021,
     DW_LANG_Fortran03 = 0x0022,
@@ -325,7 +326,10 @@ enum dwarf_source_language
     DW_LANG_HP_Basic91   = 0x8004,
     DW_LANG_HP_Pascal91  = 0x8005,
     DW_LANG_HP_IMacro    = 0x8006,
-    DW_LANG_HP_Assembler = 0x8007
+    DW_LANG_HP_Assembler = 0x8007,
+
+    /* Rust extension, but replaced in DWARF 5.  */
+    DW_LANG_Rust_old = 0x9000
   };
 
 /* Names and codes for macro information.  */
-- 
2.5.5


  parent reply	other threads:[~2016-04-27  2:50 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-04-27  2:50 [PATCH 0/8] Add Rust language support Tom Tromey
2016-04-27  2:50 ` [PATCH 3/8] Make gdb expression debugging handle OP_F90_RANGE Tom Tromey
2016-04-27 11:38   ` Pedro Alves
2016-04-27  2:50 ` [PATCH 8/8] Add Rust documentation Tom Tromey
2016-04-27  7:10   ` Eli Zaretskii
2016-04-27  2:50 ` [PATCH 2/8] Fix latent yacc-related bug in gdb/Makefile.in init.c rule Tom Tromey
2016-04-27 11:38   ` Pedro Alves
2016-04-27  2:50 ` [PATCH 6/8] Add support for the Rust language Tom Tromey
2016-04-27 11:43   ` Pedro Alves
2016-04-27 11:49     ` Pedro Alves
2016-04-27 18:27     ` Tom Tromey
2016-04-27 18:36       ` Pedro Alves
2016-04-27 19:52       ` Tom Tromey
2016-04-27  2:50 ` [PATCH 7/8] Update gdb test suite for Rust Tom Tromey
2016-04-27 11:44   ` Pedro Alves
2016-04-27  2:50 ` [PATCH 4/8] Add self-test framework to gdb Tom Tromey
2016-04-27 11:40   ` Pedro Alves
2016-04-27 17:58     ` Tom Tromey
2016-04-27  2:50 ` Tom Tromey [this message]
2016-04-27 11:44   ` [PATCH 1/8] Add DW_LANG_Rust and DW_LANG_Rust_old Pedro Alves
2016-04-27  2:50 ` [PATCH 5/8] Add array start and end strings to generic_val_print_decorations Tom Tromey
2016-04-27 11:40   ` Pedro Alves
2016-04-27 11:47 ` [PATCH 0/8] Add Rust language support Pedro Alves
2016-04-27 16:22   ` Tom Tromey
2016-04-27 18:23     ` Pedro Alves
2016-04-27 21:56   ` Pedro Alves

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=1461725371-17620-2-git-send-email-tom@tromey.com \
    --to=tom@tromey.com \
    --cc=gdb-patches@sourceware.org \
    /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