* m68k-tdep.c (m68k_local_breakpoint_from_pc): Change return type

to `const gdb_byte *'.  Use gdb_byte for break_insn.
(m68k_register_to_value): Change type of last argument to
`gdb_byte *'.  Use gdb_byte for from.
(m68k_value_to_register): Change type of last argument to
`gdb_byte *'.  Use gdb_byte for to.
(m68k_extract_return_value): Change type of last argument to
`gdb_byte *'.  Use gdb_byte for buf.  Remove unnecessary cast.
(m68k_svr4_extract_return_value): Change type of last argument to
`gdb_byte *'.  Use gdb_byte for buf.
(m68k_store_return_value): Change type of last argument to
`gdb_byte *'.  Remove unnecessary cast.
(m68k_svr4_store_return_value): Change type of last argument to
`gdb_byte *'.  Use gdb_byte for buf.
(m68k_return_value, m68k_svr4_return_value): Change type of
readbuf and writebuf arguments to `gdb_byte *'.
(m68k_push_dummy_call, m68k_unwind_pc, m68k_frame_cache)
(m68k_unwind_dummy_id): Use gdb_byte for buf.
(m68k_get_longjmp_target): Use `gdb_byte *' for buf.
* m68kbsd-tdep.c (m68kbsd_supply_fpregset)
(m68kbsd_supply_gregset): Use `gdb_byte *' for regs.
This commit is contained in:
Mark Kettenis
2005-05-14 13:14:00 +00:00
parent 8dccaca313
commit f5cf7aa126
3 changed files with 49 additions and 29 deletions

View File

@ -1,6 +1,6 @@
/* Target-dependent code for Motorola 68000 BSD's.
Copyright 2004 Free Software Foundation, Inc.
Copyright 2004, 2005 Free Software Foundation, Inc.
This file is part of GDB.
@ -57,7 +57,7 @@ m68kbsd_supply_fpregset (const struct regset *regset,
struct regcache *regcache,
int regnum, const void *fpregs, size_t len)
{
const char *regs = fpregs;
const gdb_byte *regs = fpregs;
int i;
gdb_assert (len >= M68KBSD_SIZEOF_FPREGS);
@ -78,7 +78,7 @@ m68kbsd_supply_gregset (const struct regset *regset,
struct regcache *regcache,
int regnum, const void *gregs, size_t len)
{
const char *regs = gregs;
const gdb_byte *regs = gregs;
int i;
gdb_assert (len >= M68KBSD_SIZEOF_GREGS);