dwarf2out.c (output_die): Print the string in the comment for a DW_FORM_strp.
authorJason Merrill <jason@gcc.gnu.org>
Fri, 14 Dec 2001 11:15:36 +0000 (06:15 -0500)
committerJason Merrill <jason@gcc.gnu.org>
Fri, 14 Dec 2001 11:15:36 +0000 (06:15 -0500)
        * dwarf2out.c (output_die): Print the string in the comment for
        a DW_FORM_strp.

From-SVN: r47997

gcc/ChangeLog
gcc/dwarf2out.c

index f8f2a83..e9caaee 100644 (file)
@@ -1,3 +1,8 @@
+2001-12-14  Jason Merrill  <jason@redhat.com>
+
+       * dwarf2out.c (output_die): Print the string in the comment for
+       a DW_FORM_strp.
+
 2001-12-14  Richard Earnshaw  <rearnsha@arm.com>
 
        * netbsd.h (COLLECT_SHARED_INIT_FUNC)
@@ -16,9 +21,9 @@
 
 2001-12-13  Aldy Hernandez  <aldyh@redhat.com>
 
-        * attribs.c (c_common_attribute_table): Swap decl_req and type_req
+       * attribs.c (c_common_attribute_table): Swap decl_req and type_req
        for the mode attribute.
-        (handle_mode_attribute): Handle types, not decls.
+       (handle_mode_attribute): Handle types, not decls.
 
 2001-12-13  Jason Merrill  <jason@redhat.com>
 
index 0cc41c9..d4ef42e 100644 (file)
@@ -6356,7 +6356,7 @@ output_die (die)
          if (AT_string_form (a) == DW_FORM_strp)
            dw2_asm_output_offset (DWARF_OFFSET_SIZE,
                                   a->dw_attr_val.v.val_str->label,
-                                  "%s", name);
+                                  "%s: \"%s\"", name, AT_string (a));
          else
            dw2_asm_output_nstring (AT_string (a), -1, "%s", name);
          break;