| 
    GDBserver
   
    
   
   | 
  
  
  
 
Go to the source code of this file.
Defines | |
| #define | sh_num_regs 41 | 
| #define | sh_breakpoint_len 2 | 
Functions | |
| void | init_registers_sh (void) | 
| static int | sh_cannot_store_register (int regno) | 
| static int | sh_cannot_fetch_register (int regno) | 
| static CORE_ADDR | sh_get_pc (struct regcache *regcache) | 
| static void | sh_set_pc (struct regcache *regcache, CORE_ADDR pc) | 
| static int | sh_breakpoint_at (CORE_ADDR where) | 
| static void | sh_fill_gregset (struct regcache *regcache, void *buf) | 
| static struct regs_info * | sh_regs_info (void) | 
| static void | sh_arch_setup (void) | 
| void | initialize_low_arch (void) | 
Variables | |
| struct target_desc * | tdesc_sh | 
| static int | sh_regmap [] | 
| static const unsigned short | sh_breakpoint = 0xc3c3 | 
| static struct regset_info | sh_regsets [] | 
| static struct regsets_info | sh_regsets_info | 
| static struct usrregs_info | sh_usrregs_info | 
| static struct regs_info | regs_info | 
| struct linux_target_ops | the_low_target | 
| #define sh_breakpoint_len 2 | 
Definition at line 78 of file linux-sh-low.c.
| #define sh_num_regs 41 | 
Definition at line 32 of file linux-sh-low.c.
| void init_registers_sh | ( | void | ) | 
Referenced by initialize_low_arch().
| void initialize_low_arch | ( | void | ) | 
Definition at line 159 of file linux-sh-low.c.
References init_registers_sh(), and sh_regsets_info.
| static void sh_arch_setup | ( | void | ) |  [static] | 
        
Definition at line 138 of file linux-sh-low.c.
References current_process(), and process_info::tdesc.
| static int sh_breakpoint_at | ( | CORE_ADDR | where | ) |  [static] | 
        
Definition at line 81 of file linux-sh-low.c.
References target_ops::read_memory, sh_breakpoint, and the_target.
| static int sh_cannot_fetch_register | ( | int | regno | ) |  [static] | 
        
Definition at line 56 of file linux-sh-low.c.
| static int sh_cannot_store_register | ( | int | regno | ) |  [static] | 
        
Definition at line 50 of file linux-sh-low.c.
| static void sh_fill_gregset | ( | struct regcache * | regcache, | 
| void * | buf | ||
| ) |  [static] | 
        
Definition at line 97 of file linux-sh-low.c.
References collect_register(), and sh_regmap.
Definition at line 62 of file linux-sh-low.c.
References collect_register_by_name().
| static struct regs_info* sh_regs_info | ( | void | ) |  [static, read] | 
        
Definition at line 132 of file linux-sh-low.c.
References regs_info.
Definition at line 70 of file linux-sh-low.c.
References supply_register_by_name().
  {
    NULL, 
    &sh_usrregs_info,
    &sh_regsets_info
  }
Definition at line 124 of file linux-sh-low.c.
Referenced by sh_regs_info().
const unsigned short sh_breakpoint = 0xc3c3 [static] | 
        
Definition at line 77 of file linux-sh-low.c.
Referenced by sh_breakpoint_at().
int sh_regmap[] [static] | 
        
 {
 0,     4,      8,      12,     16,     20,     24,     28,
 32,    36,     40,     44,     48,     52,     56,     60,
 REG_PC*4,   REG_PR*4,   REG_GBR*4,  -1,
 REG_MACH*4, REG_MACL*4, REG_SR*4,
 REG_FPUL*4, REG_FPSCR*4,
 REG_FPREG0*4+0,   REG_FPREG0*4+4,   REG_FPREG0*4+8,   REG_FPREG0*4+12,
 REG_FPREG0*4+16,  REG_FPREG0*4+20,  REG_FPREG0*4+24,  REG_FPREG0*4+28,
 REG_FPREG0*4+32,  REG_FPREG0*4+36,  REG_FPREG0*4+40,  REG_FPREG0*4+44,
 REG_FPREG0*4+48,  REG_FPREG0*4+52,  REG_FPREG0*4+56,  REG_FPREG0*4+60,
}
Definition at line 35 of file linux-sh-low.c.
Referenced by sh_fill_gregset().
struct regset_info sh_regsets[] [static] | 
        
 {
  { 0, 0, 0, 0, GENERAL_REGS, sh_fill_gregset, NULL },
  { 0, 0, 0, -1, -1, NULL, NULL }
}
Definition at line 106 of file linux-sh-low.c.
struct regsets_info sh_regsets_info [static] | 
        
  {
    sh_regsets, 
    0, 
    NULL, 
  }
Definition at line 111 of file linux-sh-low.c.
Referenced by initialize_low_arch().
struct usrregs_info sh_usrregs_info [static] | 
        
  {
    sh_num_regs,
    sh_regmap,
  }
Definition at line 118 of file linux-sh-low.c.
| struct target_desc* tdesc_sh | 
| struct linux_target_ops the_low_target | 
 {
  sh_arch_setup,
  sh_regs_info,
  sh_cannot_fetch_register,
  sh_cannot_store_register,
  NULL, 
  sh_get_pc,
  sh_set_pc,
  (const unsigned char *) &sh_breakpoint,
  sh_breakpoint_len,
  NULL,
  0,
  sh_breakpoint_at,
}
Definition at line 143 of file linux-sh-low.c.
 1.7.6.1