summaryrefslogtreecommitdiff
path: root/gdb/ppc-sysv-tdep.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2003-05-13 19:27:28 +0000
committerAndrew Cagney <cagney@redhat.com>2003-05-13 19:27:28 +0000
commitca0114bfef1c3fd8fcb18e91084d5cfb0e9808de (patch)
tree52e4ad5bd495ea2d7afb7235ecbc506ebc0fb396 /gdb/ppc-sysv-tdep.c
parent99fe16723388b9925a5300096a654b5fa08b444b (diff)
downloadgdb-ca0114bfef1c3fd8fcb18e91084d5cfb0e9808de.tar.gz
2003-05-13 Andrew Cagney <cagney@redhat.com>
* defs.h (store_address): Delete declaration. findvar.c (store_address): Delete function. * arm-tdep.c (arm_push_dummy_call): Replace store_address with store_unsigned_integer. * xstormy16-tdep.c (xstormy16_address_to_pointer): Ditto. * v850-tdep.c (v850_push_arguments): Ditto. * sparc-tdep.c (sparc_get_saved_register): Ditto. * sh-tdep.c (sh64_get_saved_register): Ditto. * rs6000-tdep.c (rs6000_push_arguments): Ditto. * ppc-sysv-tdep.c (ppc_sysv_abi_push_arguments): Ditto. * mips-tdep.c (mips_eabi_push_arguments): Ditto. (mips_get_saved_register): Ditto. * ia64-tdep.c (ia64_get_saved_register): Ditto. (find_func_descr, ia64_push_arguments): Ditto. * i386-tdep.c (i386_push_arguments): Ditto. * hpux-thread.c (hpux_thread_fetch_registers): Ditto. * frv-tdep.c (frv_push_arguments): Ditto. * frame.c (legacy_saved_regs_prev_register): Ditto. (deprecated_generic_get_saved_register): Ditto. * findvar.c (unsigned_address_to_pointer): Ditto. * dwarf2read.c (dwarf2_const_value): Ditto. * arm-linux-tdep.c (arm_linux_push_arguments): Ditto. * alpha-tdep.c (alpha_push_arguments): Ditto.
Diffstat (limited to 'gdb/ppc-sysv-tdep.c')
-rw-r--r--gdb/ppc-sysv-tdep.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/ppc-sysv-tdep.c b/gdb/ppc-sysv-tdep.c
index 9894a5883e2..6e8216cdc22 100644
--- a/gdb/ppc-sysv-tdep.c
+++ b/gdb/ppc-sysv-tdep.c
@@ -180,7 +180,7 @@ ppc_sysv_abi_push_arguments (int nargs, struct value **args, CORE_ADDR sp,
write_register (SP_REGNUM, sp);
/* write the backchain */
- store_address (old_sp_buf, 4, saved_sp);
+ store_unsigned_integer (old_sp_buf, 4, saved_sp);
write_memory (sp, old_sp_buf, 4);
argoffset = 8;
@@ -261,7 +261,7 @@ ppc_sysv_abi_push_arguments (int nargs, struct value **args, CORE_ADDR sp,
|| TYPE_CODE (type) == TYPE_CODE_UNION)
{
write_memory (sp + structoffset, val, len);
- store_address (val_buf, 4, sp + structoffset);
+ store_unsigned_integer (val_buf, 4, sp + structoffset);
structoffset += round2 (len, 8);
}
else