* gdbtypes.c (make_pointer_type, make_reference_type,
[deliverable/binutils-gdb.git] / gdb / jv-valprint.c
index 2157418f16729b3dca9a21a9e240a209809688d8..b9329112833b5c52abfb9e96a3c712bc20401f88 100644 (file)
@@ -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;
This page took 0.026197 seconds and 4 git commands to generate.