]> CyberLeo.Net >> Repos - FreeBSD/releng/9.2.git/blob - gnu/usr.bin/gdb/gdbserver/reg-i386.c
- Copy stable/9 to releng/9.2 as part of the 9.2-RELEASE cycle.
[FreeBSD/releng/9.2.git] / gnu / usr.bin / gdb / gdbserver / reg-i386.c
1 /* *INDENT-OFF* */ /* THIS FILE IS GENERATED */
2
3 /* This file was created with the aid of ``regdat.sh'' and ``../../../../contrib/gdb/gdb/regformats/reg-i386.dat''.  */
4
5 #include <sys/cdefs.h>
6 __FBSDID("$FreeBSD$");
7
8 #include "regdef.h"
9 #include "regcache.h"
10
11 struct reg regs_i386[] = {
12   { "eax", 0, 32 },
13   { "ecx", 32, 32 },
14   { "edx", 64, 32 },
15   { "ebx", 96, 32 },
16   { "esp", 128, 32 },
17   { "ebp", 160, 32 },
18   { "esi", 192, 32 },
19   { "edi", 224, 32 },
20   { "eip", 256, 32 },
21   { "eflags", 288, 32 },
22   { "cs", 320, 32 },
23   { "ss", 352, 32 },
24   { "ds", 384, 32 },
25   { "es", 416, 32 },
26   { "fs", 448, 32 },
27   { "gs", 480, 32 },
28   { "st0", 512, 80 },
29   { "st1", 592, 80 },
30   { "st2", 672, 80 },
31   { "st3", 752, 80 },
32   { "st4", 832, 80 },
33   { "st5", 912, 80 },
34   { "st6", 992, 80 },
35   { "st7", 1072, 80 },
36   { "fctrl", 1152, 32 },
37   { "fstat", 1184, 32 },
38   { "ftag", 1216, 32 },
39   { "fiseg", 1248, 32 },
40   { "fioff", 1280, 32 },
41   { "foseg", 1312, 32 },
42   { "fooff", 1344, 32 },
43   { "fop", 1376, 32 },
44   { "xmm0", 1408, 128 },
45   { "xmm1", 1536, 128 },
46   { "xmm2", 1664, 128 },
47   { "xmm3", 1792, 128 },
48   { "xmm4", 1920, 128 },
49   { "xmm5", 2048, 128 },
50   { "xmm6", 2176, 128 },
51   { "xmm7", 2304, 128 },
52   { "mxcsr", 2432, 32 },
53 };
54
55 const char *expedite_regs_i386[] = { "ebp", "esp", "eip", 0 };
56
57 void
58 init_registers ()
59 {
60     set_register_cache (regs_i386,
61                         sizeof (regs_i386) / sizeof (regs_i386[0]));
62     gdbserver_expedite_regs = expedite_regs_i386;
63 }