*LEN and optionally adjust *PC to point to the correct memory
location for inserting the breakpoint. */
-static const unsigned char *
+static const gdb_byte *
m88k_breakpoint_from_pc (CORE_ADDR *pc, int *len)
{
/* tb 0,r0,511 */
- static unsigned char break_insn[] = { 0xf0, 0x00, 0xd1, 0xff };
+ static gdb_byte break_insn[] = { 0xf0, 0x00, 0xd1, 0xff };
*len = sizeof (break_insn);
return break_insn;
static enum return_value_convention
m88k_return_value (struct gdbarch *gdbarch, struct type *type,
- struct regcache *regcache, void *readbuf,
- const void *writebuf)
+ struct regcache *regcache, gdb_byte *readbuf,
+ const gdb_byte *writebuf)
{
int len = TYPE_LENGTH (type);
- char buf[8];
+ gdb_byte buf[8];
if (!m88k_integral_or_pointer_p (type) && !m88k_floating_p (type))
return RETURN_VALUE_STRUCT_CONVENTION;
m88k_frame_prev_register (struct frame_info *next_frame, void **this_cache,
int regnum, int *optimizedp,
enum lval_type *lvalp, CORE_ADDR *addrp,
- int *realnump, void *valuep)
+ int *realnump, gdb_byte *valuep)
{
struct m88k_frame_cache *cache = m88k_frame_cache (next_frame, this_cache);
struct regcache *regcache,
int regnum, const void *gregs, size_t len)
{
- const char *regs = gregs;
+ const gdb_byte *regs = gregs;
int i;
for (i = 0; i < M88K_NUM_REGS; i++)