2005-02-07 Andrew Cagney <cagney@gnu.org>

* value.h (VALUE_LAZY): Delete
	(set_value_lazy): Declare.
	* value.c (set_value_lazy): Define.
	* valops.c, valarith.c, jv-valprint.c, jv-lang.c: Update.
	* gnu-v2-abi.c, findvar.c, dwarf2loc.c, ada-lang.c: Update.
This commit is contained in:
Andrew Cagney
2005-02-07 15:04:43 +00:00
parent 303e4c21e7
commit dfa52d88e7
11 changed files with 34 additions and 18 deletions

View 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. */