2005-02-07 Andrew Cagney <cagney@gnu.org>
[deliverable/binutils-gdb.git] / gdb / jv-lang.c
index cd7c32693a9aef103d620ee82e3e9331f9a67d78..bc2264f10c4f584edc2bad07b30233654f54031a 100644 (file)
@@ -1,5 +1,7 @@
 /* Java language support routines for GDB, the GNU debugger.
-   Copyright 1997, 1998, 1999, 2000, 2003, 2004 Free Software Foundation, Inc.
+
+   Copyright 1997, 1998, 1999, 2000, 2003, 2004, 2005 Free Software
+   Foundation, Inc.
 
    This file is part of GDB.
 
@@ -439,7 +441,7 @@ java_link_class_type (struct type *type, struct value *clas)
       else
        {                       /* Re-use field value for next field. */
          VALUE_ADDRESS (field) += TYPE_LENGTH (value_type (field));
-         VALUE_LAZY (field) = 1;
+         set_value_lazy (field, 1);
        }
       temp = field;
       temp = value_struct_elt (&temp, NULL, "name", NULL, "structure");
@@ -509,7 +511,7 @@ java_link_class_type (struct type *type, struct value *clas)
       else
        {                       /* Re-use method value for next method. */
          VALUE_ADDRESS (method) += TYPE_LENGTH (value_type (method));
-         VALUE_LAZY (method) = 1;
+         set_value_lazy (method, 1);
        }
 
       /* Get method name. */
This page took 0.02338 seconds and 4 git commands to generate.