GDB (xrefs)
|
#include "defs.h"
#include "gdbcore.h"
#include "target.h"
#include "monitor.h"
#include "serial.h"
#include "regcache.h"
Go to the source code of this file.
Functions | |
static void | ppcbug_supply_register (struct regcache *regcache, char *regname, int regnamelen, char *val, int vallen) |
static void | init_ppc_cmds (char *LOAD_CMD, struct monitor_ops *OPS, struct target_ops *targops) |
static void | ppcbug_open0 (char *args, int from_tty) |
static void | ppcbug_open1 (char *args, int from_tty) |
void | _initialize_ppcbug_rom (void) |
Variables | |
static char * | ppcbug_regnames [] |
static struct target_ops | ppcbug_ops0 |
static struct target_ops | ppcbug_ops1 |
static char * | ppcbug_inits [] |
static struct monitor_ops | ppcbug_cmds0 |
static struct monitor_ops | ppcbug_cmds1 |
initialize_file_ftype | _initialize_ppcbug_rom |
void _initialize_ppcbug_rom | ( | void | ) |
Definition at line 201 of file ppcbug-rom.c.
References _initialize_ppcbug_rom, add_target(), init_monitor_ops(), init_ppc_cmds(), ppcbug_cmds0, ppcbug_cmds1, ppcbug_open0(), ppcbug_open1(), ppcbug_ops0, ppcbug_ops1, target_ops::to_doc, target_ops::to_longname, target_ops::to_open, and target_ops::to_shortname.
static void init_ppc_cmds | ( | char * | LOAD_CMD, |
struct monitor_ops * | OPS, | ||
struct target_ops * | targops | ||
) | [static] |
Definition at line 132 of file ppcbug-rom.c.
References monitor_ops::clr_all_break, monitor_ops::clr_break, regrw_cmd::cmd, monitor_ops::cmd_end, memrw_cmd::cmdb, memrw_cmd::cmdl, memrw_cmd::cmdll, memrw_cmd::cmdw, monitor_ops::cont, monitor_ops::dump_registers, monitor_ops::fill, monitor_ops::flags, monitor_ops::getmem, monitor_ops::getreg, monitor_ops::init, monitor_ops::line_term, monitor_ops::load, LOAD_CMD, monitor_ops::loadresp, monitor_ops::magic, MO_CLR_BREAK_USES_ADDR, MO_HANDLE_NL, MONITOR_OPS_MAGIC, ppcbug_inits, ppcbug_regnames, ppcbug_supply_register(), monitor_ops::prompt, monitor_ops::register_pattern, monitor_ops::regnames, memrw_cmd::resp_delim, regrw_cmd::resp_delim, SERIAL_1_STOPBITS, monitor_ops::set_break, monitor_ops::setmem, monitor_ops::setreg, monitor_ops::step, monitor_ops::stop, monitor_ops::stopbits, monitor_ops::supply_register, monitor_ops::target, memrw_cmd::term, regrw_cmd::term, memrw_cmd::term_cmd, and regrw_cmd::term_cmd.
Referenced by _initialize_ppcbug_rom().
static void ppcbug_open0 | ( | char * | args, |
int | from_tty | ||
) | [static] |
Definition at line 187 of file ppcbug-rom.c.
References monitor_open(), and ppcbug_cmds0.
Referenced by _initialize_ppcbug_rom().
static void ppcbug_open1 | ( | char * | args, |
int | from_tty | ||
) | [static] |
Definition at line 193 of file ppcbug-rom.c.
References monitor_open(), and ppcbug_cmds1.
Referenced by _initialize_ppcbug_rom().
static void ppcbug_supply_register | ( | struct regcache * | regcache, |
char * | regname, | ||
int | regnamelen, | ||
char * | val, | ||
int | vallen | ||
) | [static] |
Definition at line 30 of file ppcbug-rom.c.
References monitor_supply_register().
Referenced by init_ppc_cmds().
Referenced by _initialize_ppcbug_rom(), and initialize_all_files().
struct monitor_ops ppcbug_cmds0 [static] |
Definition at line 183 of file ppcbug-rom.c.
Referenced by _initialize_ppcbug_rom(), and ppcbug_open0().
struct monitor_ops ppcbug_cmds1 [static] |
Definition at line 184 of file ppcbug-rom.c.
Referenced by _initialize_ppcbug_rom(), and ppcbug_open1().
char* ppcbug_inits[] [static] |
{"\r", NULL}
Definition at line 128 of file ppcbug-rom.c.
Referenced by init_ppc_cmds().
struct target_ops ppcbug_ops0 [static] |
Definition at line 125 of file ppcbug-rom.c.
Referenced by _initialize_ppcbug_rom().
struct target_ops ppcbug_ops1 [static] |
Definition at line 126 of file ppcbug-rom.c.
Referenced by _initialize_ppcbug_rom().
char* ppcbug_regnames[] [static] |
{ "r0", "r1", "r2", "r3", "r4", "r5", "r6", "r7", "r8", "r9", "r10", "r11", "r12", "r13", "r14", "r15", "r16", "r17", "r18", "r19", "r20", "r21", "r22", "r23", "r24", "r25", "r26", "r27", "r28", "r29", "r30", "r31", "fr0", "fr1", "fr2", "fr3", "fr4", "fr5", "fr6", "fr7", "fr8", "fr9", "fr10", "fr11", "fr12", "fr13", "fr14", "fr15", "fr16", "fr17", "fr18", "fr19", "fr20", "fr21", "fr22", "fr23", "fr24", "fr25", "fr26", "fr27", "fr28", "fr29", "fr30", "fr31", "ip", "msr", "cr", "spr8", "spr9", "spr1", "spr0" }
Definition at line 103 of file ppcbug-rom.c.
Referenced by init_ppc_cmds().