GDB (xrefs)
Loading...
Searching...
No Matches
Functions | Variables
i386-sol2-nat.c File Reference
#include "defs.h"
#include "regcache.h"
#include <sys/reg.h>
#include <sys/procfs.h>
#include "gregset.h"
#include "target.h"
#include "procfs.h"
#include "amd64-nat.h"
#include "amd64-tdep.h"

Go to the source code of this file.

Functions

void supply_gregset (struct regcache *regcache, const prgregset_t *gregs)
 
void supply_fpregset (struct regcache *regcache, const prfpregset_t *fpregs)
 
void fill_gregset (const struct regcache *regcache, prgregset_t *gregs, int regnum)
 
void fill_fpregset (const struct regcache *regcache, prfpregset_t *fpregs, int regnum)
 
void _initialize_amd64_sol2_nat ()
 

Variables

static int amd64_sol2_gregset64_reg_offset []
 
static int amd64_sol2_gregset32_reg_offset []
 

Function Documentation

◆ _initialize_amd64_sol2_nat()

void _initialize_amd64_sol2_nat ( )

◆ fill_fpregset()

void fill_fpregset ( const struct regcache * regcache,
prfpregset_t * fpregs,
int regnum )

Definition at line 122 of file i386-sol2-nat.c.

References amd64_collect_fxsave(), and regnum.

◆ fill_gregset()

void fill_gregset ( const struct regcache * regcache,
prgregset_t * gregs,
int regnum )

Definition at line 115 of file i386-sol2-nat.c.

References amd64_collect_native_gregset(), and regnum.

◆ supply_fpregset()

void supply_fpregset ( struct regcache * regcache,
const prfpregset_t * fpregs )

Definition at line 109 of file i386-sol2-nat.c.

References amd64_supply_fxsave().

◆ supply_gregset()

void supply_gregset ( struct regcache * regcache,
const prgregset_t * gregs )

Definition at line 103 of file i386-sol2-nat.c.

References amd64_supply_native_gregset().

Variable Documentation

◆ amd64_sol2_gregset32_reg_offset

int amd64_sol2_gregset32_reg_offset[]
static
Initial value:
= {
14 * 8,
13 * 8,
12 * 8,
11 * 8,
20 * 8,
10 * 8,
9 * 8,
8 * 8,
17 * 8,
19 * 8,
18 * 8,
21 * 8,
25 * 8,
24 * 8,
22 * 8,
23 * 8
}

Definition at line 83 of file i386-sol2-nat.c.

Referenced by _initialize_amd64_sol2_nat().

◆ amd64_sol2_gregset64_reg_offset

int amd64_sol2_gregset64_reg_offset[]
static
Initial value:
= {
14 * 8,
11 * 8,
13 * 8,
12 * 8,
9 * 8,
8 * 8,
10 * 8,
20 * 8,
7 * 8,
6 * 8,
5 * 8,
4 * 8,
3 * 8,
2 * 8,
1 * 8,
0 * 8,
17 * 8,
19 * 8,
18 * 8,
21 * 8,
25 * 8,
24 * 8,
22 * 8,
23 * 8
}

Definition at line 54 of file i386-sol2-nat.c.

Referenced by _initialize_amd64_sol2_nat().