aboutsummaryrefslogtreecommitdiff
path: root/gdb/jv-valprint.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/jv-valprint.c')
-rw-r--r--gdb/jv-valprint.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/jv-valprint.c b/gdb/jv-valprint.c
index e19a307..7e87b15 100644
--- a/gdb/jv-valprint.c
+++ b/gdb/jv-valprint.c
@@ -126,7 +126,7 @@ java_value_print (val, stream, format, pretty)
if (element == 0)
fprintf_filtered (stream, "null");
else
- fprintf_filtered (stream, "@%x", element);
+ fprintf_filtered (stream, "@%s", paddr_nz (element));
things_printed++;
i += reps;