gdb/
[deliverable/binutils-gdb.git] / gdb / jv-valprint.c
index 3b90e54fec3e3fcf18fa518ec1bd50a416fe803f..cb89a854008ae483ba1315228b52d1b0d90f1729 100644 (file)
@@ -395,7 +395,7 @@ java_print_value_fields (struct type *type, const gdb_byte *valaddr,
              else if (!value_bits_valid (val, TYPE_FIELD_BITPOS (type, i),
                                          TYPE_FIELD_BITSIZE (type, i)))
                {
-                 val_print_optimized_out (stream);
+                 val_print_optimized_out (val, stream);
                }
              else
                {
@@ -420,7 +420,7 @@ java_print_value_fields (struct type *type, const gdb_byte *valaddr,
                  struct value *v = value_static_field (type, i);
 
                  if (v == NULL)
-                   val_print_optimized_out (stream);
+                   val_print_optimized_out (NULL, stream);
                  else
                    {
                      struct value_print_options opts;
This page took 0.02417 seconds and 4 git commands to generate.