diff options
author | Andrew Cagney <cagney@redhat.com> | 2005-02-02 22:34:36 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2005-02-02 22:34:36 +0000 |
commit | d69fe07ead0b14603cb37fd9659bffc11afa37b1 (patch) | |
tree | 533dc9f35cdcd999b12c8520a7fda6f944af14e0 /gdb/findvar.c | |
parent | 46615f07c3db91f7a0f138baec128749604dca43 (diff) | |
download | gdb-d69fe07ead0b14603cb37fd9659bffc11afa37b1.zip gdb-d69fe07ead0b14603cb37fd9659bffc11afa37b1.tar.gz gdb-d69fe07ead0b14603cb37fd9659bffc11afa37b1.tar.bz2 |
2005-02-02 Andrew Cagney <cagney@gnu.org>
* value.h (value_lazy): Declare.
* varobj.c, value.c, valops.c, valarith.c, printcmd.c: Update.
* cp-valprint.c, breakpoint.c, ada-lang.c: Update.
Diffstat (limited to 'gdb/findvar.c')
-rw-r--r-- | gdb/findvar.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/findvar.c b/gdb/findvar.c index 5fc3685..94140d6 100644 --- a/gdb/findvar.c +++ b/gdb/findvar.c @@ -738,7 +738,7 @@ locate_var_value (struct symbol *var, struct frame_info *frame) if (lazy_value == 0) error ("Address of \"%s\" is unknown.", SYMBOL_PRINT_NAME (var)); - if (VALUE_LAZY (lazy_value) + if (value_lazy (lazy_value) || TYPE_CODE (type) == TYPE_CODE_FUNC) { struct value *val; |