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/std-regs.c | |
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/std-regs.c')
-rw-r--r-- | gdb/std-regs.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/std-regs.c b/gdb/std-regs.c index 5cb38b7..287f55e 100644 --- a/gdb/std-regs.c +++ b/gdb/std-regs.c @@ -56,7 +56,7 @@ static struct value * value_of_builtin_frame_reg (struct frame_info *frame) { struct value *val; - char *buf; + gdb_byte *buf; build_builtin_type_frame_reg (); val = allocate_value (builtin_type_frame_reg); VALUE_LVAL (val) = not_lval; @@ -85,7 +85,7 @@ value_of_builtin_frame_fp_reg (struct frame_info *frame) else { struct value *val = allocate_value (builtin_type_void_data_ptr); - char *buf = value_contents_raw (val); + gdb_byte *buf = value_contents_raw (val); if (frame == NULL) memset (buf, 0, TYPE_LENGTH (value_type (val))); else @@ -103,7 +103,7 @@ value_of_builtin_frame_pc_reg (struct frame_info *frame) else { struct value *val = allocate_value (builtin_type_void_data_ptr); - char *buf = value_contents_raw (val); + gdb_byte *buf = value_contents_raw (val); if (frame == NULL) memset (buf, 0, TYPE_LENGTH (value_type (val))); else |