21 #include <sys/ptrace.h>
28 #define cris_num_regs 32
32 15*4, 14*4, 13*4, 12*4,
47 if (cris_regmap[regno] == -1)
56 if (cris_regmap[regno] == -1)
77 unsigned long newpc = pc;
82 #define cris_breakpoint_len 2
91 if (insn == cris_breakpoint)
123 static struct regs_info regs_info =
129 static const struct regs_info *
143 (
const unsigned char *) &cris_breakpoint,
struct thread_info * current_thread
#define cris_breakpoint_len
void supply_register_by_name(struct regcache *regcache, const char *name, const void *buf)
static int cris_breakpoint_at(CORE_ADDR where)
void initialize_low_arch(void)
static const unsigned short cris_breakpoint
static int cris_cannot_store_register(int regno)
static CORE_ADDR cris_get_pc(struct regcache *regcache, void)
static struct usrregs_info cris_usrregs_info
struct target_ops * the_target
const struct target_desc * tdesc
static int cris_cannot_fetch_register(int regno)
void collect_register_by_name(struct regcache *regcache, const char *name, void *buf)
void init_registers_cris(void)
static void cris_set_pc(struct regcache *regcache, CORE_ADDR pc)
struct process_info * current_process(void)
static CORE_ADDR cris_reinsert_addr(void)
static struct regs_info regs_info
const struct target_desc * tdesc_cris
static const struct regs_info * cris_regs_info(void)
int(* read_memory)(CORE_ADDR memaddr, unsigned char *myaddr, int len)
struct regcache * get_thread_regcache(struct thread_info *thread, int fetch)
static void cris_arch_setup(void)
void debug_printf(const char *fmt,...)