aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorJim Kingdon <jkingdon@engr.sgi.com>1994-03-08 14:56:30 +0000
committerJim Kingdon <jkingdon@engr.sgi.com>1994-03-08 14:56:30 +0000
commit7810d333c9634a7ec0d6aa9b42d9368b6a9e34a2 (patch)
treefb98dd4e87f4d0d119d268159f483b8d589896fd /gdb
parent0071a731ef49265710fcaa8281ab16eab6dd1316 (diff)
downloadgdb-7810d333c9634a7ec0d6aa9b42d9368b6a9e34a2.zip
gdb-7810d333c9634a7ec0d6aa9b42d9368b6a9e34a2.tar.gz
gdb-7810d333c9634a7ec0d6aa9b42d9368b6a9e34a2.tar.bz2
* alpha-tdep.c: Change value to value_ptr.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog4
-rw-r--r--gdb/alpha-tdep.c14
2 files changed, 11 insertions, 7 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 7087483..887b5ea 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 81061d3..31c467b 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;