GDB (xrefs)
Functions | Variables
/home/stan/gdb/src/gdb/ppcbug-rom.c File Reference
#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

Function Documentation

void _initialize_ppcbug_rom ( void  )
static void init_ppc_cmds ( char *  LOAD_CMD,
struct monitor_ops OPS,
struct target_ops targops 
) [static]
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().


Variable Documentation

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]
Initial value:
{"\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]
Initial value:
{
  "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().

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines