From: Jim Kingdon Date: Tue, 8 Mar 1994 14:56:30 +0000 (+0000) Subject: * alpha-tdep.c: Change value to value_ptr. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7810d333c9634a7ec0d6aa9b42d9368b6a9e34a2;p=binutils-gdb.git * alpha-tdep.c: Change value to value_ptr. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 708748394ac..887b5ea2d7d 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +Mon Mar 7 13:00:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com) + + * alpha-tdep.c: Change value to value_ptr. + Sun Mar 6 17:36:53 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) * solib.c (elf_locate_base): New function to locate the address diff --git a/gdb/alpha-tdep.c b/gdb/alpha-tdep.c index 81061d35ae6..31c467be6e7 100644 --- a/gdb/alpha-tdep.c +++ b/gdb/alpha-tdep.c @@ -593,11 +593,11 @@ setup_arbitrary_frame (argc, argv) CORE_ADDR alpha_push_arguments (nargs, args, sp, struct_return, struct_addr) - int nargs; - value *args; - CORE_ADDR sp; - int struct_return; - CORE_ADDR struct_addr; + int nargs; + value_ptr *args; + CORE_ADDR sp; + int struct_return; + CORE_ADDR struct_addr; { register i; int accumulate_size = struct_return ? 8 : 0; @@ -611,7 +611,7 @@ alpha_push_arguments (nargs, args, sp, struct_return, struct_addr) for (i = 0, m_arg = alpha_args; i < nargs; i++, m_arg++) { - value arg = value_arg_coerce (args[i]); + value_ptr arg = value_arg_coerce (args[i]); /* Cast argument to long if necessary as the compiler does it too. */ if (TYPE_LENGTH (VALUE_TYPE (arg)) < TYPE_LENGTH (builtin_type_long)) arg = value_cast (builtin_type_long, arg); @@ -974,7 +974,7 @@ alpha_extract_return_value (valtype, regbuf, valbuf) } /* Given a return value in `regbuf' with a type `valtype', - write it's value into the appropriate register. */ + write its value into the appropriate register. */ void alpha_store_return_value (valtype, valbuf) struct type *valtype;