diff options
author | Andrew Cagney <cagney@redhat.com> | 2005-05-25 03:12:13 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2005-05-25 03:12:13 +0000 |
commit | 50fd1280820c4c5a3403a68d53a76dc225dd8702 (patch) | |
tree | e435b07363db9d59379533df0585c542ec467681 /gdb/ppc-tdep.h | |
parent | 39c833404fb59970abea275811722217a042c508 (diff) | |
download | gdb-50fd1280820c4c5a3403a68d53a76dc225dd8702.zip gdb-50fd1280820c4c5a3403a68d53a76dc225dd8702.tar.gz gdb-50fd1280820c4c5a3403a68d53a76dc225dd8702.tar.bz2 |
2005-05-24 Andrew Cagney <cagney@gnu.org>
* rs6000-tdep.c (ppc_supply_reg, ppc_collect_reg): Use gdb_byte
for byte buffers.
(rs6000_fetch_pointer_argument): Use get_frame_register_unsigned.
(rs6000_software_single_step, sstep_breaks, skip_prologue)
(rs6000_push_dummy_call, rs6000_push_dummy_call)
(rs6000_push_dummy_call, rs6000_push_dummy_call)
(rs6000_register_to_value, e500_pseudo_register_read)
(rs6000_store_return_value, e500_pseudo_register_write)
(rs6000_frame_prev_register, rs6000_extract_return_value): Ditto.
* ppc-sysv-tdep.c (ppc_sysv_abi_push_dummy_call)
(ppc_sysv_abi_push_dummy_call, do_ppc_sysv_return_value)
(do_ppc_sysv_return_value, ppc_sysv_abi_return_value)
(ppc_sysv_abi_broken_return_value)
(ppc64_sysv_abi_push_dummy_call, ppc64_sysv_abi_push_dummy_call)
(ppc64_sysv_abi_push_dummy_call, ppc64_sysv_abi_return_value)
(ppc64_sysv_abi_return_value, ppc64_sysv_abi_return_value): Ditto.
* ppc-linux-tdep.c (ppc_linux_in_sigtramp)
(ppc_linux_at_sigtramp_return_path)
(ppc_linux_skip_trampoline_code)
(ppc_linux_memory_remove_breakpoint, ppc_linux_return_value):
* rs6000-tdep.c (rs6000_value_to_register)
(rs6000_register_to_value): Ditto.
* ppc-tdep.h (ppc_sysv_abi_return_value)
(ppc64_sysv_abi_return_value, ppc_sysv_abi_broken_return_value)
(ppc_linux_memory_remove_breakpoint): Ditto.
Diffstat (limited to 'gdb/ppc-tdep.h')
-rw-r--r-- | gdb/ppc-tdep.h | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/gdb/ppc-tdep.h b/gdb/ppc-tdep.h index 1a5bc6f..a2c77da 100644 --- a/gdb/ppc-tdep.h +++ b/gdb/ppc-tdep.h @@ -33,13 +33,13 @@ struct type; enum return_value_convention ppc_sysv_abi_return_value (struct gdbarch *gdbarch, struct type *valtype, struct regcache *regcache, - void *readbuf, - const void *writebuf); + gdb_byte *readbuf, + const gdb_byte *writebuf); enum return_value_convention ppc_sysv_abi_broken_return_value (struct gdbarch *gdbarch, struct type *valtype, struct regcache *regcache, - void *readbuf, - const void *writebuf); + gdb_byte *readbuf, + const gdb_byte *writebuf); CORE_ADDR ppc_sysv_abi_push_dummy_call (struct gdbarch *gdbarch, struct value *function, struct regcache *regcache, @@ -56,7 +56,8 @@ CORE_ADDR ppc64_sysv_abi_push_dummy_call (struct gdbarch *gdbarch, CORE_ADDR struct_addr); CORE_ADDR ppc64_sysv_abi_adjust_breakpoint_address (struct gdbarch *gdbarch, CORE_ADDR bpaddr); -int ppc_linux_memory_remove_breakpoint (CORE_ADDR addr, char *contents_cache); +int ppc_linux_memory_remove_breakpoint (CORE_ADDR addr, + gdb_byte *contents_cache); struct link_map_offsets *ppc_linux_svr4_fetch_link_map_offsets (void); void ppc_linux_supply_gregset (struct regcache *regcache, int regnum, const void *gregs, size_t size, @@ -68,8 +69,8 @@ void ppc_linux_supply_fpregset (const struct regset *regset, enum return_value_convention ppc64_sysv_abi_return_value (struct gdbarch *gdbarch, struct type *valtype, struct regcache *regcache, - void *readbuf, - const void *writebuf); + gdb_byte *readbuf, + const gdb_byte *writebuf); /* From rs6000-tdep.c... */ int altivec_register_p (int regno); |