37 int regnamelen,
char *val,
int vallen)
48 if (regname[1] !=
'R')
53 if (regname[1] !=
'C')
58 if (regname[1] <
'0' || regname[1] >
'7')
63 if (regname[1] <
'0' || regname[1] >
'7')
82 static char *regnames[] =
84 "D0",
"D1",
"D2",
"D3",
"D4",
"D5",
"D6",
"D7",
85 "A0",
"A1",
"A2",
"A3",
"A4",
"A5",
"A6",
"A7",
90 if (index >= ARRAY_SIZE (regnames) || index < 0)
93 return regnames[index];
172 Specify the serial device it is connected to (e.g. /dev/ttya).";
void add_target(struct target_ops *t)
static char * dbug_inits[]
struct gdbarch * get_regcache_arch(const struct regcache *regcache)
#define MO_FILL_USES_ADDR
int gdbarch_ps_regnum(struct gdbarch *gdbarch)
static struct target_ops dbug_ops
void(* supply_register)(struct regcache *regcache, char *name, int namelen, char *val, int vallen)
static void dbug_open(const char *args, int from_tty)
void initialize_file_ftype(void)
#define MO_CLR_BREAK_USES_ADDR
#define MONITOR_OPS_MAGIC
static void dbug_supply_register(struct regcache *regcache, char *regname, int regnamelen, char *val, int vallen)
static void init_dbug_cmds(void)
void monitor_open(const char *args, struct monitor_ops *mon_ops, int from_tty)
#define SERIAL_1_STOPBITS
initialize_file_ftype _initialize_dbug_rom
void init_monitor_ops(struct target_ops *ops)
static struct monitor_ops dbug_cmds
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
int gdbarch_pc_regnum(struct gdbarch *gdbarch)
static const char * dbug_regname(int index)
#define MO_GETMEM_NEEDS_RANGE
const char *(* regname)(int index)