Main Page
Namespaces
Classes
Files
File List
File Members
VBoxGDB
registers-i386.h
Go to the documentation of this file.
1
#pragma once
2
#include "../../GDBServerFoundation/GDBRegisters.h"
3
4
namespace
GDBServerFoundation
5
{
6
namespace
i386
7
{
9
enum
RegisterIndex
10
{
11
rgEAX
,
12
rgECX
,
13
rgEDX
,
14
rgEBX
,
15
rgESP
,
16
rgEBP
,
17
rgESI
,
18
rgEDI
,
19
20
rgEIP
,
21
rgEFLAGS
,
22
rgCS
,
23
rgSS
,
24
rgDS
,
25
rgES
,
26
rgFS
,
27
rgGS
,
28
};
29
30
static
RegisterEntry
_RawRegisterList
[] = {
31
{
rgEAX
,
"eax"
, 32},
32
{
rgECX
,
"ecx"
, 32},
33
{
rgEDX
,
"edx"
, 32},
34
{
rgEBX
,
"ebx"
, 32},
35
{
rgESP
,
"esp"
, 32},
36
{
rgEBP
,
"ebp"
, 32},
37
{
rgESI
,
"esi"
, 32},
38
{
rgEDI
,
"edi"
, 32},
39
40
{
rgEIP
,
"eip"
, 32},
41
{
rgEFLAGS
,
"eflags"
, 32},
42
{
rgCS
,
"cs"
, 32},
43
{
rgSS
,
"ss"
, 32},
44
{
rgDS
,
"ds"
, 32},
45
{
rgES
,
"es"
, 32},
46
{
rgFS
,
"fs"
, 32},
47
{
rgGS
,
"gs"
, 32},
48
};
49
50
static
PlatformRegisterList
RegisterList
=
51
{
52
sizeof
(
_RawRegisterList
) /
sizeof
(
_RawRegisterList
[0]),
53
_RawRegisterList
,
54
};
55
56
}
57
}