summaryrefslogtreecommitdiffstats
path: root/gdb/jv-valprint.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/jv-valprint.c')
-rw-r--r--gdb/jv-valprint.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/jv-valprint.c b/gdb/jv-valprint.c
index 1819b50323..0a2cc538aa 100644
--- a/gdb/jv-valprint.c
+++ b/gdb/jv-valprint.c
@@ -239,7 +239,8 @@ java_value_print (struct value *val, struct ui_file *stream,
value_free_to_mark (mark); /* Release unnecessary values */
char_type = builtin_java_type (gdbarch)->builtin_char;
- val_print_string (char_type, data + boffset, count, stream, options);
+ val_print_string (char_type, NULL, data + boffset, count, stream,
+ options);
return 0;
}
OpenPOWER on IntegriCloud