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  {
10  {
19 
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]),
54  };
55 
56  }
57 }