From 4754a64e16a0afde77699cd300487822b46e8247 Mon Sep 17 00:00:00 2001 From: Andrew Cagney Date: Wed, 2 Feb 2005 20:31:35 +0000 Subject: 2005-02-02 Andrew Cagney * 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. --- gdb/value.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gdb/value.h') 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 -- cgit v1.1