GDB (xrefs)
Defines | Functions | Variables
/home/stan/gdb/src/gdb/hppanbsd-tdep.c File Reference
#include "defs.h"
#include "osabi.h"
#include "regcache.h"
#include "regset.h"
#include "trad-frame.h"
#include "tramp-frame.h"
#include "gdb_assert.h"
#include "gdb_string.h"
#include "hppa-tdep.h"
#include "hppabsd-tdep.h"

Go to the source code of this file.

Defines

#define HPPANBSD_SIZEOF_GREGS   (44 * 4)

Functions

static void hppanbsd_sigtramp_cache_init (const struct tramp_frame *, struct frame_info *, struct trad_frame_cache *, CORE_ADDR)
static void hppanbsd_supply_gregset (const struct regset *regset, struct regcache *regcache, int regnum, const void *gregs, size_t len)
static struct regsethppanbsd_regset_from_core_section (struct gdbarch *gdbarch, const char *sect_name, size_t sect_size)
static void hppanbsd_init_abi (struct gdbarch_info info, struct gdbarch *gdbarch)
void _initialize_hppanbsd_tdep (void)

Variables

static int hppanbsd_mc_reg_offset []
static struct tramp_frame hppanbsd_sigtramp_si4
static int hppanbsd_reg_offset []
static struct regset hppanbsd_gregset
initialize_file_ftype _initialize_hppanbsd_tdep

Define Documentation

#define HPPANBSD_SIZEOF_GREGS   (44 * 4)

Definition at line 136 of file hppanbsd-tdep.c.

Referenced by hppanbsd_regset_from_core_section(), and hppanbsd_supply_gregset().


Function Documentation

void _initialize_hppanbsd_tdep ( void  )
static void hppanbsd_init_abi ( struct gdbarch_info  info,
struct gdbarch gdbarch 
) [static]
static struct regset* hppanbsd_regset_from_core_section ( struct gdbarch gdbarch,
const char *  sect_name,
size_t  sect_size 
) [static, read]

Definition at line 194 of file hppanbsd-tdep.c.

References hppanbsd_gregset, and HPPANBSD_SIZEOF_GREGS.

Referenced by hppanbsd_init_abi().

static void hppanbsd_sigtramp_cache_init ( const struct tramp_frame self,
struct frame_info this_frame,
struct trad_frame_cache this_cache,
CORE_ADDR  func 
) [static]
static void hppanbsd_supply_gregset ( const struct regset regset,
struct regcache regcache,
int  regnum,
const void *  gregs,
size_t  len 
) [static]

Variable Documentation

struct regset hppanbsd_gregset [static]
Initial value:

Definition at line 184 of file hppanbsd-tdep.c.

Referenced by hppanbsd_regset_from_core_section().

Definition at line 35 of file hppanbsd-tdep.c.

Referenced by hppanbsd_sigtramp_cache_init().

Initial value:
{
  
      -1,   1 * 4,   2 * 4,   3 * 4,
   4 * 4,   5 * 4,   6 * 4,   7 * 4,
   8 * 4,   9 * 4,  10 * 4,  11 * 4, 
  12 * 4,  13 * 4,  14 * 4,  15 * 4,
  16 * 4,  17 * 4,  18 * 4,  19 * 4,
  20 * 4,  21 * 4,  22 * 4,  23 * 4,
  24 * 4,  25 * 4,  26 * 4,  27 * 4,
  28 * 4,  29 * 4,  30 * 4,  31 * 4,

  32 * 4,       
  35 * 4,       
  33 * 4,       
  36 * 4,       
  34 * 4,       
  -1,           
  -1,           
  -1,           
  -1,           
  0 * 4,        
}

Definition at line 138 of file hppanbsd-tdep.c.

Referenced by hppanbsd_supply_gregset().

Initial value:
{
  SIGTRAMP_FRAME,
  4,
  {
    { 0xc7d7c012, -1 }, 
    { 0xd6e01c1e, -1 }, 
    { 0x0ee81093, -1 }, 
    { 0x0ee01097, -1 }, 
                        
    { 0xe8404000, -1 }, 
    { 0xeae0c002, -1 }, 
    { 0x08000240, -1 }, 

    { 0x0803025a, -1 }, 
    { 0x20200801, -1 }, 
    { 0xe420e008, -1 }, 
    { 0x34160268, -1 }, 

    { 0x081c025a, -1 }, 
    { 0x20200801, -1 }, 
    { 0xe420e008, -1 }, 
    { 0x34160002, -1 }, 
    { TRAMP_SENTINEL_INSN, -1 }
  },
  hppanbsd_sigtramp_cache_init
}

Definition at line 72 of file hppanbsd-tdep.c.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines