aboutsummaryrefslogtreecommitdiff
path: root/gdb/infcall.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2005-02-02 20:31:35 +0000
committerAndrew Cagney <cagney@redhat.com>2005-02-02 20:31:35 +0000
commit4754a64e16a0afde77699cd300487822b46e8247 (patch)
tree880341674d3e31e388a7e20bad6df2be9fad6ec0 /gdb/infcall.c
parent161f49a3160088a08c3b07e0f025932ef4863ded (diff)
downloadgdb-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/infcall.c')
-rw-r--r--gdb/infcall.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/infcall.c b/gdb/infcall.c
index 0617ce9..4025ee2 100644
--- a/gdb/infcall.c
+++ b/gdb/infcall.c
@@ -571,7 +571,7 @@ You must use a pointer to function type variable. Command ignored.", arg_name);
CORE_ADDR addr;
int len; /* = TYPE_LENGTH (arg_type); */
int aligned_len;
- arg_type = check_typedef (VALUE_ENCLOSING_TYPE (args[i]));
+ arg_type = check_typedef (value_enclosing_type (args[i]));
len = TYPE_LENGTH (arg_type);
aligned_len = len;