summaryrefslogtreecommitdiff
path: root/gdb/trad-frame.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2005-05-22 14:53:35 +0000
committerAndrew Cagney <cagney@redhat.com>2005-05-22 14:53:35 +0000
commit577a45db1e7fbfcfea65a89c29a23158bd6288c9 (patch)
tree5aaa3294795986ad915428cf6a8511a0bddf457b /gdb/trad-frame.c
parent23d658328ba3053bc6c8a17d627940348af6f2c5 (diff)
downloadgdb-577a45db1e7fbfcfea65a89c29a23158bd6288c9.tar.gz
2005-05-22 Andrew Cagney <cagney@gnu.org>
* frame.h (frame_register_unwind, frame_unwind_register) (get_frame_register, frame_register, put_frame_register) (get_frame_memory, safe_frame_unwind_memory) (frame_register_read): Use gdb_byte for byte buffer parameters. * trad-frame.h (trad_frame_get_register) (frame_get_prev_register): Ditto. * frame-unwind.h (frame_prev_register_ftype): Ditto. * frame.c (frame_pop, frame_register, frame_unwind_register) (get_frame_register, frame_unwind_register_signed) (frame_unwind_register_unsigned, frame_unwind_unsigned_register) (frame_register_read, get_frame_memory): Update. * trad-frame.c (trad_frame_get_prev_register): Update. (trad_frame_get_register): Update. * gdbcore.h (deprecated_read_memory_nobpt, read_memory): Ditto. * breakpoint.c (deprecated_read_memory_nobpt): Update. * corefile.c (read_memory): Update. * tramp-frame.c (tramp_frame_prev_register): Update. * valops.c (value_assign): Update. * sentinel-frame.c (sentinel_frame_prev_register): Update. * std-regs.c (value_of_builtin_frame_fp_reg) (value_of_builtin_frame_pc_reg): Update. * infcmd.c (default_print_registers_info): Update * dummy-frame.c (dummy_frame_prev_register): Update. * findvar.c (value_of_register, value_from_register): Update. * tui/tui-regs.c (tui_register_format, tui_get_register): Update. * mi/mi-main.c (register_changed_p, get_register): Update.
Diffstat (limited to 'gdb/trad-frame.c')
-rw-r--r--gdb/trad-frame.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/trad-frame.c b/gdb/trad-frame.c
index 339ee34c6ec..ff2765cb816 100644
--- a/gdb/trad-frame.c
+++ b/gdb/trad-frame.c
@@ -135,7 +135,7 @@ trad_frame_get_prev_register (struct frame_info *next_frame,
struct trad_frame_saved_reg this_saved_regs[],
int regnum, int *optimizedp,
enum lval_type *lvalp, CORE_ADDR *addrp,
- int *realregp, void *bufferp)
+ int *realregp, gdb_byte *bufferp)
{
struct gdbarch *gdbarch = get_frame_arch (next_frame);
if (trad_frame_addr_p (this_saved_regs, regnum))
@@ -185,7 +185,7 @@ trad_frame_get_register (struct trad_frame_cache *this_trad_cache,
struct frame_info *next_frame,
int regnum, int *optimizedp,
enum lval_type *lvalp, CORE_ADDR *addrp,
- int *realregp, void *bufferp)
+ int *realregp, gdb_byte *bufferp)
{
trad_frame_get_prev_register (next_frame, this_trad_cache->prev_regs,
regnum, optimizedp, lvalp, addrp, realregp,