diff options
author | Andrew Cagney <cagney@redhat.com> | 2005-05-22 14:53:35 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2005-05-22 14:53:35 +0000 |
commit | 10c42a7141c2d89992d5e0c1d2c3453df5142140 (patch) | |
tree | 5b42438f9ff378de17d8c5562d9830115d9339cb /gdb/frame.h | |
parent | 45d18c809e5db00460a76d1e7e01ee26a543e5de (diff) | |
download | gdb-10c42a7141c2d89992d5e0c1d2c3453df5142140.zip gdb-10c42a7141c2d89992d5e0c1d2c3453df5142140.tar.gz gdb-10c42a7141c2d89992d5e0c1d2c3453df5142140.tar.bz2 |
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/frame.h')
-rw-r--r-- | gdb/frame.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/gdb/frame.h b/gdb/frame.h index d49192f..45eb058 100644 --- a/gdb/frame.h +++ b/gdb/frame.h @@ -395,7 +395,7 @@ extern enum frame_type get_frame_type (struct frame_info *); extern void frame_register_unwind (struct frame_info *frame, int regnum, int *optimizedp, enum lval_type *lvalp, CORE_ADDR *addrp, int *realnump, - void *valuep); + gdb_byte *valuep); /* Fetch a register from this, or unwind a register from the next frame. Note that the get_frame methods are wrappers to @@ -403,9 +403,9 @@ extern void frame_register_unwind (struct frame_info *frame, int regnum, fetch fails. */ extern void frame_unwind_register (struct frame_info *frame, - int regnum, void *buf); + int regnum, gdb_byte *buf); extern void get_frame_register (struct frame_info *frame, - int regnum, void *buf); + int regnum, gdb_byte *buf); extern LONGEST frame_unwind_register_signed (struct frame_info *frame, int regnum); @@ -429,13 +429,13 @@ extern void frame_unwind_unsigned_register (struct frame_info *frame, extern void frame_register (struct frame_info *frame, int regnum, int *optimizedp, enum lval_type *lvalp, CORE_ADDR *addrp, int *realnump, - void *valuep); + gdb_byte *valuep); /* The reverse. Store a register value relative to the specified frame. Note: this call makes the frame's state undefined. The register and frame caches must be flushed. */ extern void put_frame_register (struct frame_info *frame, int regnum, - const void *buf); + const gdb_byte *buf); /* Map between a frame register number and its name. A frame register space is a superset of the cooked register space --- it also @@ -471,7 +471,7 @@ extern void frame_pop (struct frame_info *frame); adaptor frames this should be ok. */ extern void get_frame_memory (struct frame_info *this_frame, CORE_ADDR addr, - void *buf, int len); + gdb_byte *buf, int len); extern LONGEST get_frame_memory_signed (struct frame_info *this_frame, CORE_ADDR memaddr, int len); extern ULONGEST get_frame_memory_unsigned (struct frame_info *this_frame, @@ -480,7 +480,7 @@ extern ULONGEST get_frame_memory_unsigned (struct frame_info *this_frame, /* Same as above, but return non-zero when the entire memory read succeeds, zero otherwize. */ extern int safe_frame_unwind_memory (struct frame_info *this_frame, - CORE_ADDR addr, void *buf, int len); + CORE_ADDR addr, gdb_byte *buf, int len); /* Return this frame's architecture. */ @@ -586,7 +586,7 @@ extern int deprecated_pc_in_call_dummy (CORE_ADDR pc); isn't available (it could have been fetched from memory). */ extern int frame_register_read (struct frame_info *frame, int regnum, - void *buf); + gdb_byte *buf); /* From stack.c. */ extern void args_info (char *, int); |