aboutsummaryrefslogtreecommitdiff
path: root/gdb/i386bsd-tdep.c
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@gnu.org>2005-05-08 16:27:34 +0000
committerMark Kettenis <kettenis@gnu.org>2005-05-08 16:27:34 +0000
commit63c0089f205d68a0aea7074ee29de8c10fc2c27c (patch)
tree85a4f41f6116bf26e5cb46f3391587bfa64b9f6c /gdb/i386bsd-tdep.c
parentb57b6c2e22c1cac0016636a25697ef651af1b5eb (diff)
downloadfsf-binutils-gdb-63c0089f205d68a0aea7074ee29de8c10fc2c27c.zip
fsf-binutils-gdb-63c0089f205d68a0aea7074ee29de8c10fc2c27c.tar.gz
fsf-binutils-gdb-63c0089f205d68a0aea7074ee29de8c10fc2c27c.tar.bz2
* i386-tdep.c (i386_breakpoint_from_pc): Change return type to
`const gdb_byte *'. Use gdb_byte for break_insn. (i386_follow_jump): Use gdb_byte for op. (i386_analyze_struct_return): Use gdb_byte for proto1, proto2, buf and op. (i386_skip_probe): Use gdb_byte for buf and op. (struct i386_insn): Use gdb_byte for insn and mask. (i386_match_insn, i386_analyze_frame_setup) (i386_analyze_register_saves): Use gdb_byte for op. (i386_skip_prologue): Use gdb_byte for pic_pat and op; (i386_unwind_pc, i386_frame_cache, i386_sigtramp_frame_cache) (i386_unwind_dummy_id, i386_get_longjmp_target): Use gdb_byte for buf. (i386_extract_return_value, i386_store_return_value): Use `bfd_byte *' instead of `void *' for valbuf argument. Remove now redundant cast. (i386_pseudo_register_read, i386_pseudo_register_write): Use gdb_byte for mmx_buf. (i386_register_to_value, i386_value_to_register): Use `gdb_byte *' instead of `char *' for buf. (i386_supply_gregset, i386_collect_gregset): Use `gdb_byte *' instead of `char *' for regs. (i386_svr4_sigcontext_addr): Use gdb_byte for buf. * i386obsd-tdep.c (i386obsd_sigtramp_p): Use gdb_byte for sigreturn and `gdb_byte *' for buf. (i386obsd_aout_supply_regset): Use `const gdb_byte *' in cast. (i386obsd_supply_uthread, i386obsd_collect_uthread): Use gdb_byte for buf. * i386bsd-tdep.c (i386bsd_sigcontext_addr): Use gdb_byte for buf.
Diffstat (limited to 'gdb/i386bsd-tdep.c')
-rw-r--r--gdb/i386bsd-tdep.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/i386bsd-tdep.c b/gdb/i386bsd-tdep.c
index c82e310..bddf1ca 100644
--- a/gdb/i386bsd-tdep.c
+++ b/gdb/i386bsd-tdep.c
@@ -38,7 +38,7 @@
static CORE_ADDR
i386bsd_sigcontext_addr (struct frame_info *next_frame)
{
- char buf[4];
+ gdb_byte buf[4];
CORE_ADDR sp;
frame_unwind_register (next_frame, I386_ESP_REGNUM, buf);