From owner-svn-src-all@FreeBSD.ORG Mon Oct 21 18:23:17 2013 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id CF608DA3; Mon, 21 Oct 2013 18:23:17 +0000 (UTC) (envelope-from emaste@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id A2F782B3F; Mon, 21 Oct 2013 18:23:17 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id r9LINHRe066859; Mon, 21 Oct 2013 18:23:17 GMT (envelope-from emaste@svn.freebsd.org) Received: (from emaste@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id r9LINHRa066840; Mon, 21 Oct 2013 18:23:17 GMT (envelope-from emaste@svn.freebsd.org) Message-Id: <201310211823.r9LINHRa066840@svn.freebsd.org> From: Ed Maste Date: Mon, 21 Oct 2013 18:23:17 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-9@freebsd.org Subject: svn commit: r256852 - in stable/9/contrib: binutils/include/elf gdb/gdb X-SVN-Group: stable-9 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Oct 2013 18:23:17 -0000 Author: emaste Date: Mon Oct 21 18:23:16 2013 New Revision: 256852 URL: http://svnweb.freebsd.org/changeset/base/256852 Log: MFC r251665: Handle DW_TAG_rvalue_reference_type 2012-05-21 Jim Ingham * dwarf2read.c (process_die): Handle DW_TAG_rvalue_reference_type. (read_type_die): Ditto. (dwarf_tag_name): Ditto. * elf/dwarf2.h: Add DW_TAG_rvalue_reference_type. Obtained from: Apple, gdb-1820 Modified: stable/9/contrib/binutils/include/elf/dwarf2.h stable/9/contrib/gdb/gdb/dwarf2read.c Directory Properties: stable/9/contrib/binutils/ (props changed) stable/9/contrib/gdb/ (props changed) Modified: stable/9/contrib/binutils/include/elf/dwarf2.h ============================================================================== --- stable/9/contrib/binutils/include/elf/dwarf2.h Mon Oct 21 18:20:20 2013 (r256851) +++ stable/9/contrib/binutils/include/elf/dwarf2.h Mon Oct 21 18:23:16 2013 (r256852) @@ -189,6 +189,7 @@ enum dwarf_tag DW_TAG_imported_unit = 0x3d, DW_TAG_condition = 0x3f, DW_TAG_shared_type = 0x40, + DW_TAG_rvalue_reference_type = 0x42, /* SGI/MIPS Extensions. */ DW_TAG_MIPS_loop = 0x4081, /* HP extensions. See: ftp://ftp.hp.com/pub/lang/tools/WDB/wdb-4.0.tar.gz . */ Modified: stable/9/contrib/gdb/gdb/dwarf2read.c ============================================================================== --- stable/9/contrib/gdb/gdb/dwarf2read.c Mon Oct 21 18:20:20 2013 (r256851) +++ stable/9/contrib/gdb/gdb/dwarf2read.c Mon Oct 21 18:23:16 2013 (r256852) @@ -1977,6 +1977,7 @@ process_die (struct die_info *die, struc read_tag_ptr_to_member_type (die, cu); break; case DW_TAG_reference_type: + case DW_TAG_rvalue_reference_type: read_tag_reference_type (die, cu); break; case DW_TAG_string_type: @@ -6097,6 +6098,7 @@ read_type_die (struct die_info *die, str read_tag_ptr_to_member_type (die, cu); break; case DW_TAG_reference_type: + case DW_TAG_rvalue_reference_type: read_tag_reference_type (die, cu); break; case DW_TAG_const_type: @@ -6425,6 +6427,8 @@ dwarf_tag_name (unsigned tag) return "DW_TAG_pointer_type"; case DW_TAG_reference_type: return "DW_TAG_reference_type"; + case DW_TAG_rvalue_reference_type: + return "DW_TAG_rvalue_reference_type"; case DW_TAG_compile_unit: return "DW_TAG_compile_unit"; case DW_TAG_string_type: