summaryrefslogtreecommitdiff
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
commit2f8d5ebbe33b0d5951f1d4e54835081c7b0d1046 (patch)
tree67f1b93a1147eea04623228d69338d559ffaaa6f /gdb/infcall.c
parenta5915fbd1ffa0a964d822da56f10565be28b7941 (diff)
downloadgdb-2f8d5ebbe33b0d5951f1d4e54835081c7b0d1046.tar.gz
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 0617ce96104..4025ee221b4 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;