38 "r0",
"r1",
"r2",
"r3",
"r4",
"r5",
"r6",
"r7",
39 "r8",
"r9",
"r10",
"r11",
"r12",
"r13",
"r14",
"r15",
40 0, 0, 0, 0, 0, 0, 0, 0,
41 0, 0, 0, 0, 0, 0, 0, 0,
42 "psr",
"vbr",
"epsr",
"fpsr",
"epc",
"fpc", 0,
"ss1",
43 "ss2",
"ss3",
"ss4", 0, 0, 0, 0, 0,
44 0, 0, 0, 0, 0, 0, 0, 0,
45 0, 0, 0, 0, 0, 0, 0, 0,
80 p = strtok (buf,
" \t\r\n");
88 int rn = (p[1] ==
'0' ? 0 : 8);
94 p = strtok (NULL,
" \t\r\n");
104 p = strtok (NULL,
" \t\r\n");
105 for (rn = 39; rn < 43; rn++)
107 p = strtok (NULL,
" \t\r\n");
124 p = strtok (NULL,
" \t\r\n");
134 if (i <= gdbarch_num_regs (gdbarch))
138 p = strtok (NULL,
" \t\r\n");
188 Specify the serial device it is connected to (e.g. /dev/ttya).";
void add_target(struct target_ops *t)
void monitor_printf(char *pattern,...)
void _initialize_picobug_rom(void)
struct gdbarch * get_regcache_arch(const struct regcache *regcache)
int gdbarch_num_regs(struct gdbarch *gdbarch)
static struct monitor_ops picobug_cmds
int(* dumpregs)(struct regcache *)
#define MO_CLR_BREAK_USES_ADDR
#define MO_PRINT_PROGRAM_OUTPUT
#define MONITOR_OPS_MAGIC
static void init_picobug_cmds(void)
static int startswith(const char *string, const char *pattern)
void monitor_open(const char *args, struct monitor_ops *mon_ops, int from_tty)
static struct target_ops picobug_ops
#define SERIAL_1_STOPBITS
void init_monitor_ops(struct target_ops *ops)
static char * picobug_regnames[]
void(* to_open)(const char *, int)
char * monitor_supply_register(struct regcache *regcache, int regno, char *valstr)
struct target_ops * target
const char * to_shortname
static int picobug_dumpregs(struct regcache *regcache)
int monitor_expect_prompt(char *buf, int buflen)
static char * picobug_inits[]
static void picobug_open(const char *args, int from_tty)
#define MO_GETMEM_NEEDS_RANGE