GDB (xrefs)
Functions | Variables
/home/stan/gdb/src/gdb/i386nbsd-tdep.c File Reference
#include "defs.h"
#include "arch-utils.h"
#include "frame.h"
#include "gdbcore.h"
#include "regcache.h"
#include "regset.h"
#include "osabi.h"
#include "symtab.h"
#include "trad-frame.h"
#include "tramp-frame.h"
#include "gdb_assert.h"
#include "gdb_string.h"
#include "i386-tdep.h"
#include "i387-tdep.h"
#include "nbsd-tdep.h"
#include "solib-svr4.h"

Go to the source code of this file.

Functions

static void i386nbsd_sigtramp_cache_init (const struct tramp_frame *, struct frame_info *, struct trad_frame_cache *, CORE_ADDR)
static void i386nbsd_init_abi (struct gdbarch_info info, struct gdbarch *gdbarch)
static void i386nbsdelf_init_abi (struct gdbarch_info info, struct gdbarch *gdbarch)
void _initialize_i386nbsd_tdep (void)

Variables

static int i386nbsd_r_reg_offset []
int i386nbsd_sc_reg_offset []
int i386nbsd_mc_reg_offset []
static struct tramp_frame i386nbsd_sigtramp_sc16
static struct tramp_frame i386nbsd_sigtramp_sc2
static struct tramp_frame i386nbsd_sigtramp_si2
static struct tramp_frame i386nbsd_sigtramp_si31
static struct tramp_frame i386nbsd_sigtramp_si4
initialize_file_ftype _initialize_i386nbsd_tdep

Function Documentation

void _initialize_i386nbsd_tdep ( void  )
static void i386nbsd_init_abi ( struct gdbarch_info  info,
struct gdbarch gdbarch 
) [static]
static void i386nbsd_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 i386nbsdelf_init_abi ( struct gdbarch_info  info,
struct gdbarch gdbarch 
) [static]

Variable Documentation

Initial value:
{
  11 * 4,                       
  10 * 4,                       
  9 * 4,                        
  8 * 4,                        
  7 * 4,                        
  6 * 4,                        
  5 * 4,                        
  4 * 4,                        
  14 * 4,                       
  16 * 4,                       
  15 * 4,                       
  18 * 4,                       
  3 * 4,                        
  2 * 4,                        
  1 * 4,                        
  0 * 4                         
}

Definition at line 82 of file i386nbsd-tdep.c.

Referenced by i386nbsd_sigtramp_cache_init().

Initial value:
{
  0 * 4,                        
  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                        
}

Definition at line 40 of file i386nbsd-tdep.c.

Referenced by i386nbsd_init_abi().

Initial value:
{
  10 * 4,                       
  9 * 4,                        
  8 * 4,                        
  7 * 4,                        
  14 * 4,                       
  6 * 4,                        
  5 * 4,                        
  4 * 4,                        
  11 * 4,                       
  13 * 4,                       
  12 * 4,                       
  15 * 4,                       
  3 * 4,                        
  2 * 4,                        
  1 * 4,                        
  0 * 4                         
}

Definition at line 61 of file i386nbsd-tdep.c.

Referenced by i386nbsd_sigtramp_cache_init().

Initial value:
{
  SIGTRAMP_FRAME,
  1,
  {
    { 0x8d, -1 }, { 0x44, -1 }, { 0x24, -1 }, { 0x10, -1 },
                        
    { 0x50, -1 },       
    { 0x50, -1 },       
    { 0xb8, -1 }, { 0x27, -1 }, {0x01, -1 }, {0x00, -1 }, {0x00, -1 },
                        
    { 0xcd, -1 }, { 0x80, -1},
                        
    { 0xb8, -1 }, { 0x01, -1 }, {0x00, -1 }, {0x00, -1 }, {0x00, -1 },
                        
    { 0xcd, -1 }, { 0x80, -1},
                        
    { TRAMP_SENTINEL_INSN, -1 }
  },
  i386nbsd_sigtramp_cache_init
}

Definition at line 107 of file i386nbsd-tdep.c.

Initial value:
{
  SIGTRAMP_FRAME,
  1,
  {
    { 0x8d, -1 }, { 0x44, -1 }, { 0x24, -1 }, { 0x0c, -1 },
                        
    { 0x89, -1 }, { 0x44, -1 }, { 0x24, -1 }, { 0x04, -1 },
                        
    { 0xb8, -1 }, { 0x27, -1 }, {0x01, -1 }, {0x00, -1 }, {0x00, -1 },
                        
    { 0xcd, -1 }, { 0x80, -1},
                        
    { 0x89, -1 }, { 0x44, -1 }, { 0x24, -1 }, { 0x04, -1 },
                        
    { 0xb8, -1 }, { 0x01, -1 }, {0x00, -1 }, {0x00, -1 }, {0x00, -1 },
                        
    { 0xcd, -1 }, { 0x80, -1},
                        
    { TRAMP_SENTINEL_INSN, -1 }
  },
  i386nbsd_sigtramp_cache_init
}

Definition at line 129 of file i386nbsd-tdep.c.

Initial value:
{
  SIGTRAMP_FRAME,
  1,
  {
    { 0x8b, -1 }, { 0x44, -1 }, { 0x24, -1 }, { 0x08, -1 },
                        
    { 0x89, -1 }, { 0x44, -1 }, { 0x24, -1 }, { 0x04, -1 },
                        
    { 0xb8, -1 }, { 0x34, -1 }, { 0x01, -1 }, { 0x00, -1 }, { 0x00, -1 },
                        
    { 0xcd, -1 }, { 0x80, -1 },
                        
    { 0x89, -1 }, { 0x44, -1 }, { 0x24, -1 }, { 0x04, -1 },
                        
    { 0xb8, -1 }, { 0x01, -1 }, { 0x00, -1 }, { 0x00, -1 }, { 0x00, -1 },
                        
    { 0xcd, -1 }, { 0x80, -1 },
                        
    { TRAMP_SENTINEL_INSN, -1 }
  },
  i386nbsd_sigtramp_cache_init
}

Definition at line 153 of file i386nbsd-tdep.c.

Initial value:
{
  SIGTRAMP_FRAME,
  1,
  {
    { 0x8d, -1 }, { 0x84, -1 }, { 0x24, -1 },
        { 0x8c, -1 }, { 0x00, -1 }, { 0x00, -1 }, { 0x00, -1 },
                        
    { 0x89, -1 }, { 0x44, -1 }, { 0x24, -1 }, { 0x04, -1 },
                        
    { 0xb8, -1 }, { 0x34, -1 }, { 0x01, -1 }, { 0x00, -1 }, { 0x00, -1 },
                        
    { 0xcd, -1 }, { 0x80, -1},
                        
    { 0x89, -1 }, { 0x44, -1 }, { 0x24, -1 }, { 0x04, -1 },
                        
    { 0xb8, -1 }, { 0x01, -1 }, {0x00, -1 }, {0x00, -1 }, {0x00, -1 },
                        
    { 0xcd, -1 }, { 0x80, -1},
                        
    { TRAMP_SENTINEL_INSN, -1 }
  },
  i386nbsd_sigtramp_cache_init
}

Definition at line 177 of file i386nbsd-tdep.c.

Initial value:
{
  SIGTRAMP_FRAME,
  1,
  {
    { 0x8d, -1 }, { 0x84, -1 }, { 0x24, -1 },
        { 0x8c, -1 }, { 0x00, -1 }, { 0x00, -1 }, { 0x00, -1 },
                        
    { 0x89, -1 }, { 0x44, -1 }, { 0x24, -1 }, { 0x04, -1 },
                        
    { 0xb8, -1 }, { 0x34, -1 }, { 0x01, -1 }, { 0x00, -1 }, { 0x00, -1 },
                        
    { 0xcd, -1 }, { 0x80, -1},
                        
    { 0xc7, -1 }, { 0x44, -1 }, { 0x24, -1 }, { 0x04, -1 },
        { 0xff, -1 }, { 0xff, -1 }, { 0xff, -1 }, { 0xff, -1 },
                        
    { 0xb8, -1 }, { 0x01, -1 }, {0x00, -1 }, {0x00, -1 }, {0x00, -1 },
                        
    { 0xcd, -1 }, { 0x80, -1},
                        
    { TRAMP_SENTINEL_INSN, -1 }
  },
  i386nbsd_sigtramp_cache_init
}

Definition at line 202 of file i386nbsd-tdep.c.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines