diff options
Diffstat (limited to 'gdb/jv-valprint.c')
-rw-r--r-- | gdb/jv-valprint.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/jv-valprint.c b/gdb/jv-valprint.c index 2157418..b932911 100644 --- a/gdb/jv-valprint.c +++ b/gdb/jv-valprint.c @@ -38,7 +38,7 @@ int java_value_print (struct value *val, struct ui_file *stream, const struct value_print_options *options) { - struct gdbarch *gdbarch = current_gdbarch; + struct gdbarch *gdbarch = get_type_arch (value_type (val)); struct type *type; CORE_ADDR address; int i; |