aboutsummaryrefslogtreecommitdiff
path: root/gdb/ch-valprint.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/ch-valprint.c')
-rw-r--r--gdb/ch-valprint.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/gdb/ch-valprint.c b/gdb/ch-valprint.c
index 40d1553..c0ec4f7 100644
--- a/gdb/ch-valprint.c
+++ b/gdb/ch-valprint.c
@@ -25,6 +25,7 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
#include "expression.h"
#include "value.h"
#include "language.h"
+#include "demangle.h"
static void
chill_print_value_fields PARAMS ((struct type *, char *, FILE *, int, int,
@@ -266,7 +267,8 @@ chill_print_value_fields (type, valaddr, stream, format, recurse, pretty,
{
wrap_here (n_spaces (2 + 2 * recurse));
}
- fprint_symbol (stream, TYPE_FIELD_NAME (type, i));
+ fprintf_symbol_filtered (stream, TYPE_FIELD_NAME (type, i),
+ language_chill, DMGL_NO_OPTS);
fputs_filtered (" = ", stream);
if (TYPE_FIELD_PACKED (type, i))
{