diff options
author | Ulrich Weigand <uweigand@de.ibm.com> | 2007-06-15 22:34:13 +0000 |
---|---|---|
committer | Ulrich Weigand <uweigand@de.ibm.com> | 2007-06-15 22:34:13 +0000 |
commit | 9c9acae0c28d2b85588c305ed58aeef034e69e86 (patch) | |
tree | ebd33e2dc59a92cb7c19b028156c99a4f20653dc /gdb/hppa-tdep.c | |
parent | d2ca4222d5a14ae1a0bcc28fc7ce667baec76ff0 (diff) | |
download | fsf-binutils-gdb-9c9acae0c28d2b85588c305ed58aeef034e69e86.zip fsf-binutils-gdb-9c9acae0c28d2b85588c305ed58aeef034e69e86.tar.gz fsf-binutils-gdb-9c9acae0c28d2b85588c305ed58aeef034e69e86.tar.bz2 |
* arm-tdep.c (arm_print_float_info): Use register value from FRAME
instead of calling read_register.
* avr-tdep.c (avr_push_dummy_call): Write to REGCACHE instead of
calling write_register.
* hppa-tdep.c (hppa32_push_dummy_call): Write to REGCACHE instead of
calling write_register.
* ia64-tdep.c (find_func_descr): Add REGCACHE parameter. Use it
instead of calling read_register.
(ia64_push_dummy_call): Update call to find_func_descr. Use REGCACHE
instead of calling read_register and write_register.
* m32r-tdep.c (m32r_linux_supply_gregset): Use REGCACHE parameter
instead of current_regcache.
* mn10300-tdep.c (mn10300_push_dummy_call): Write to REGCACHE instead
of calling write_register.
* mn10300-linux-tdep.c (am33_supply_fpregset_method): Use REGCACHE
parameter instead of current_regcache.
* mips-tdep.c (mips2_fp_compat): Add FRAME parameter. Use it
instead of calling read_register.
(mips_read_fp_register_double, mips_print_fp_register): Update calls.
(mips_eabi_push_dummy_call): Use REGCACHE instead of write_register.
(mips_n32n64_push_dummy_call): Likewise.
(mips_o32_push_dummy_call): Likewise.
(mips_o64_push_dummy_call): Likewise.
* ppc-sysv-tdep.c (ppc_sysv_abi_push_dummy_call): Use REGCACHE
parameter instead of current_regcache.
* xtensa-tdep.c (xtensa_register_write_masked): Add REGCACHE parameter.
Use it instead of read_register and write_register.
(xtensa_register_read_masked): Likewise.
(xtensa_pseudo_register_read): Update call.
(xtensa_pseudo_register_write): Likewise.
(xtensa_frame_cache): Use register values unwound from NEXT_FRAME
instead of calling read_register.
(xtensa_push_dummy_call): Update comment.
Diffstat (limited to 'gdb/hppa-tdep.c')
-rw-r--r-- | gdb/hppa-tdep.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/hppa-tdep.c b/gdb/hppa-tdep.c index cf660ad..c46d977 100644 --- a/gdb/hppa-tdep.c +++ b/gdb/hppa-tdep.c @@ -832,12 +832,12 @@ hppa32_push_dummy_call (struct gdbarch *gdbarch, struct value *function, /* If a structure has to be returned, set up register 28 to hold its address */ if (struct_return) - write_register (28, struct_addr); + regcache_cooked_write_unsigned (regcache, 28, struct_addr); gp = tdep->find_global_pointer (function); if (gp != 0) - write_register (19, gp); + regcache_cooked_write_unsigned (regcache, 19, gp); /* Set the return address. */ if (!gdbarch_push_dummy_code_p (gdbarch)) |