aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gdb/ChangeLog6
-rw-r--r--gdb/s390-tdep.c4
-rw-r--r--gdb/x86-64-tdep.c4
3 files changed, 10 insertions, 4 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index cddfecc..ed8382c 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,9 @@
+2001-10-31 Andrew Cagney <ac131313@redhat.com>
+
+ * x86-64-tdep.c (value_push, x86_64_push_arguments): Replace
+ ``value_ptr'' with ``struct value *''.
+ * s390-tdep.c (s390_push_arguments): Ditto.
+
2001-10-30 Andrew Cagney <ac131313@redhat.com>
* ppc-tdep.h: Add #ifndef wrapper. Replace value_ptr with
diff --git a/gdb/s390-tdep.c b/gdb/s390-tdep.c
index 222743ad..e288311 100644
--- a/gdb/s390-tdep.c
+++ b/gdb/s390-tdep.c
@@ -1154,13 +1154,13 @@ s390_pop_frame ()
comes into this code with a size of 4 ). */
CORE_ADDR
-s390_push_arguments (int nargs, value_ptr *args, CORE_ADDR sp,
+s390_push_arguments (int nargs, struct value **args, CORE_ADDR sp,
int struct_return, CORE_ADDR struct_addr)
{
int num_float_args, num_gpr_args, orig_num_gpr_args, argno;
int second_pass, len, arglen, gprs_required;
CORE_ADDR outgoing_args_ptr, outgoing_args_space;
- value_ptr arg;
+ struct value *arg;
struct type *type;
int max_num_gpr_args = 5 - (struct_return ? 1 : 0);
int arg0_regnum = S390_GP0_REGNUM + 2 + (struct_return ? 1 : 0);
diff --git a/gdb/x86-64-tdep.c b/gdb/x86-64-tdep.c
index 06aef95..8a64552 100644
--- a/gdb/x86-64-tdep.c
+++ b/gdb/x86-64-tdep.c
@@ -542,7 +542,7 @@ x86_64_frame_init_saved_regs (struct frame_info *fi)
it to be an argument to a function. */
static CORE_ADDR
-value_push (register CORE_ADDR sp, value_ptr arg)
+value_push (register CORE_ADDR sp, struct value *arg)
{
register int len = TYPE_LENGTH (VALUE_ENCLOSING_TYPE (arg));
register int container_len = len;
@@ -559,7 +559,7 @@ value_push (register CORE_ADDR sp, value_ptr arg)
}
CORE_ADDR
-x86_64_push_arguments (int nargs, value_ptr *args, CORE_ADDR sp,
+x86_64_push_arguments (int nargs, struct value **args, CORE_ADDR sp,
int struct_return, CORE_ADDR struct_addr)
{
int intreg = 0;