diff options
author | Andrew Cagney <cagney@redhat.com> | 2005-02-02 20:31:35 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2005-02-02 20:31:35 +0000 |
commit | 4754a64e16a0afde77699cd300487822b46e8247 (patch) | |
tree | 880341674d3e31e388a7e20bad6df2be9fad6ec0 /gdb/value.h | |
parent | 161f49a3160088a08c3b07e0f025932ef4863ded (diff) | |
download | gdb-4754a64e16a0afde77699cd300487822b46e8247.zip gdb-4754a64e16a0afde77699cd300487822b46e8247.tar.gz gdb-4754a64e16a0afde77699cd300487822b46e8247.tar.bz2 |
2005-02-02 Andrew Cagney <cagney@gnu.org>
* value.c (value_enclosing_type): New function.
* value.h (VALUE_ENCLOSING_TYPE): Delete.
(value_enclosing_type): Declare.
* xstormy16-tdep.c, vax-tdep.c, m68k-tdep.c, i386-tdep.c: Update.
* gnu-v3-abi.c, hpacc-abi.c, infcall.c, valops.c: Update.
Diffstat (limited to 'gdb/value.h')
-rw-r--r-- | gdb/value.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/value.h b/gdb/value.h index 844d6fc..ed4d9ee 100644 --- a/gdb/value.h +++ b/gdb/value.h @@ -1,7 +1,7 @@ /* Definitions for values of C expressions, for GDB. Copyright 1986, 1987, 1988, 1989, 1990, 1991, 1992, 1993, 1994, - 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003 + 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. This file is part of GDB. @@ -178,7 +178,7 @@ extern int value_bitsize (struct value *); extern int value_bitpos (struct value *); extern int value_offset (struct value *); -#define VALUE_ENCLOSING_TYPE(val) (val)->enclosing_type +extern struct type *value_enclosing_type (struct value *); #define VALUE_LAZY(val) (val)->lazy /* VALUE_CONTENTS and value_contents_raw() both return the address of |