aboutsummaryrefslogtreecommitdiff
path: root/gdb/infcall.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2005-02-02 21:36:17 +0000
committerAndrew Cagney <cagney@redhat.com>2005-02-02 21:36:17 +0000
commit46615f07c3db91f7a0f138baec128749604dca43 (patch)
tree0c281bc164e338ce3b4bc9aedc5821ccab65a223 /gdb/infcall.c
parent1b9afc0454112ae9ac41f6e8ee45ca915f97adc8 (diff)
downloadgdb-46615f07c3db91f7a0f138baec128749604dca43.zip
gdb-46615f07c3db91f7a0f138baec128749604dca43.tar.gz
gdb-46615f07c3db91f7a0f138baec128749604dca43.tar.bz2
2005-02-02 Andrew Cagney <cagney@gnu.org>
* value.h (VALUE_CONTENTS_ALL): Delete. (value_contents_all): Declare. * value.c (value_contents_all): New function. * hpacc-abi.c, cp-valprint.c, valops.c, c-valprint.c: Update. * m68k-tdep.c, i386-tdep.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 4025ee2..667a07f 100644
--- a/gdb/infcall.c
+++ b/gdb/infcall.c
@@ -591,7 +591,7 @@ You must use a pointer to function type variable. Command ignored.", arg_name);
sp += aligned_len;
}
/* Push the structure. */
- write_memory (addr, VALUE_CONTENTS_ALL (args[i]), len);
+ write_memory (addr, value_contents_all (args[i]), len);
/* The value we're going to pass is the address of the
thing we just pushed. */
/*args[i] = value_from_longest (lookup_pointer_type (values_type),