From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21576 invoked by alias); 27 Apr 2016 02:50:29 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Received: (qmail 21012 invoked by uid 89); 27 Apr 2016 02:50:10 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.2 spammy=Hx-languages-length:987 X-HELO: gproxy5-pub.mail.unifiedlayer.com Received: from gproxy5-pub.mail.unifiedlayer.com (HELO gproxy5-pub.mail.unifiedlayer.com) (67.222.38.55) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with SMTP; Wed, 27 Apr 2016 02:49:51 +0000 Received: (qmail 6063 invoked by uid 0); 27 Apr 2016 02:49:47 -0000 Received: from unknown (HELO cmgw3) (10.0.90.84) by gproxy5.mail.unifiedlayer.com with SMTP; 27 Apr 2016 02:49:47 -0000 Received: from box522.bluehost.com ([74.220.219.122]) by cmgw3 with id nMpf1s00B2f2jeq01MpiQJ; Wed, 27 Apr 2016 03:49:44 -0600 X-Authority-Analysis: v=2.1 cv=Maz/5fPf c=1 sm=1 tr=0 a=GsOEXm/OWkKvwdLVJsfwcA==:117 a=GsOEXm/OWkKvwdLVJsfwcA==:17 a=L9H7d07YOLsA:10 a=9cW_t1CCXrUA:10 a=s5jvgZ67dGcA:10 a=PnD2wP_eR3oA:10 a=_v2sUkyEFrwA:10 a=kziv93cY1bsA:10 a=mDV3o1hIAAAA:8 a=ZFLbC3nfIWQ_kepgh4IA:9 a=dMjLEnNuu+1HN+MEBeouubInGVw=:19 a=5HQxKM3KcDYA:10 Received: from [71.215.116.141] (port=59324 helo=bapiya.Home) by box522.bluehost.com with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.86_2) (envelope-from ) id 1avFXq-0002dx-7T; Tue, 26 Apr 2016 20:49:42 -0600 From: Tom Tromey To: gdb-patches@sourceware.org Cc: Tom Tromey Subject: [PATCH 1/8] Add DW_LANG_Rust and DW_LANG_Rust_old Date: Wed, 27 Apr 2016 02:50:00 -0000 Message-Id: <1461725371-17620-2-git-send-email-tom@tromey.com> In-Reply-To: <1461725371-17620-1-git-send-email-tom@tromey.com> References: <1461725371-17620-1-git-send-email-tom@tromey.com> X-Identified-User: {36111:box522.bluehost.com:elynrobi:tromey.com} {sentby:smtp auth 71.215.116.141 authed with tom+tromey.com} X-SW-Source: 2016-04/txt/msg00568.txt.bz2 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