svn commit: r256852 - in stable/9/contrib: binutils/include/elf gdb/gdb

Ed Maste emaste at FreeBSD.org
Mon Oct 21 18:23:17 UTC 2013


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 <jingham at apple.com>
  
      * 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:


More information about the svn-src-stable-9 mailing list