static int
rx_get_opcode_byte (void *handle)
{
- struct rx_get_opcode_byte_handle *opcdata = handle;
+ struct rx_get_opcode_byte_handle *opcdata
+ = (struct rx_get_opcode_byte_handle *) handle;
int status;
gdb_byte byte;
stop_addr = func_start;
rx_analyze_prologue (func_start, stop_addr, frame_type,
- *this_prologue_cache);
+ (struct rx_prologue *) *this_prologue_cache);
}
- return *this_prologue_cache;
+ return (struct rx_prologue *) *this_prologue_cache;
}
/* Determine type of frame by scanning the function for a return
if (*this_cache != NULL)
{
- struct rx_prologue *p = *this_cache;
+ struct rx_prologue *p = (struct rx_prologue *) *this_cache;
return p->frame_type;
}
}
else
{
- struct rx_prologue *p = *this_cache;
+ struct rx_prologue *p = (struct rx_prologue *) *this_cache;
return sniff_p (p->frame_type);
}
else if (reg == 17)
return RX_PC_REGNUM;
else
- internal_error (__FILE__, __LINE__,
- _("Undefined dwarf2 register mapping of reg %d"),
- reg);
+ return -1;
}
/* Allocate and initialize a gdbarch object. */