aboutsummaryrefslogtreecommitdiff
path: root/gcc/dwarf2out.c
diff options
context:
space:
mode:
authorJason Merrill <jason@gcc.gnu.org>2001-12-14 06:15:36 -0500
committerJason Merrill <jason@gcc.gnu.org>2001-12-14 06:15:36 -0500
commita4cf1d8534aa178a01522936044e5d62579161d7 (patch)
tree380baeb8e1274184e6a71c978bc0ba273e8a3780 /gcc/dwarf2out.c
parent172270b3d1036d8e7519cf774bdb09c710207b03 (diff)
downloadgcc-a4cf1d8534aa178a01522936044e5d62579161d7.zip
gcc-a4cf1d8534aa178a01522936044e5d62579161d7.tar.gz
gcc-a4cf1d8534aa178a01522936044e5d62579161d7.tar.bz2
dwarf2out.c (output_die): Print the string in the comment for a DW_FORM_strp.
* dwarf2out.c (output_die): Print the string in the comment for a DW_FORM_strp. From-SVN: r47997
Diffstat (limited to 'gcc/dwarf2out.c')
-rw-r--r--gcc/dwarf2out.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/dwarf2out.c b/gcc/dwarf2out.c
index 0cc41c9..d4ef42e 100644
--- a/gcc/dwarf2out.c
+++ b/gcc/dwarf2out.c
@@ -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;