GDB (xrefs)
Functions | Variables
/tmp/gdb-7.10/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 "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 const struct tramp_frame i386nbsd_sigtramp_sc16
 
static const struct tramp_frame i386nbsd_sigtramp_sc2
 
static const struct tramp_frame i386nbsd_sigtramp_si2
 
static const struct tramp_frame i386nbsd_sigtramp_si31
 
static const 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

initialize_file_ftype _initialize_i386nbsd_tdep
int i386nbsd_mc_reg_offset[]
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 79 of file i386nbsd-tdep.c.

Referenced by i386nbsd_sigtramp_cache_init().

int i386nbsd_r_reg_offset[]
static
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 37 of file i386nbsd-tdep.c.

Referenced by i386nbsd_init_abi().

int i386nbsd_sc_reg_offset[]
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 58 of file i386nbsd-tdep.c.

Referenced by i386nbsd_sigtramp_cache_init().

const struct tramp_frame i386nbsd_sigtramp_sc16
static
Initial value:
=
{
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},
},
}
#define TRAMP_SENTINEL_INSN
Definition: tramp-frame.h:44
static void i386nbsd_sigtramp_cache_init(const struct tramp_frame *, struct frame_info *, struct trad_frame_cache *, CORE_ADDR)

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

const struct tramp_frame i386nbsd_sigtramp_sc2
static
Initial value:
=
{
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},
},
}
#define TRAMP_SENTINEL_INSN
Definition: tramp-frame.h:44
static void i386nbsd_sigtramp_cache_init(const struct tramp_frame *, struct frame_info *, struct trad_frame_cache *, CORE_ADDR)

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

const struct tramp_frame i386nbsd_sigtramp_si2
static
Initial value:
=
{
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 },
},
}
#define TRAMP_SENTINEL_INSN
Definition: tramp-frame.h:44
static void i386nbsd_sigtramp_cache_init(const struct tramp_frame *, struct frame_info *, struct trad_frame_cache *, CORE_ADDR)

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

const struct tramp_frame i386nbsd_sigtramp_si31
static
Initial value:
=
{
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},
},
}
#define TRAMP_SENTINEL_INSN
Definition: tramp-frame.h:44
static void i386nbsd_sigtramp_cache_init(const struct tramp_frame *, struct frame_info *, struct trad_frame_cache *, CORE_ADDR)

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

const struct tramp_frame i386nbsd_sigtramp_si4
static
Initial value:
=
{
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},
},
}
#define TRAMP_SENTINEL_INSN
Definition: tramp-frame.h:44
static void i386nbsd_sigtramp_cache_init(const struct tramp_frame *, struct frame_info *, struct trad_frame_cache *, CORE_ADDR)

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