GDBserver
i386-mpx-linux.c
Go to the documentation of this file.
1 /* *INDENT-OFF* */ /* THIS FILE IS GENERATED */
2 
3 /* A register protocol for GDB, the GNU debugger.
4  Copyright (C) 2001-2013 Free Software Foundation, Inc.
5 
6  This file is part of GDB.
7 
8  This program is free software; you can redistribute it and/or modify
9  it under the terms of the GNU General Public License as published by
10  the Free Software Foundation; either version 3 of the License, or
11  (at your option) any later version.
12 
13  This program is distributed in the hope that it will be useful,
14  but WITHOUT ANY WARRANTY; without even the implied warranty of
15  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16  GNU General Public License for more details.
17 
18  You should have received a copy of the GNU General Public License
19  along with this program. If not, see <http://www.gnu.org/licenses/>. */
20 
21 /* This file was created with the aid of ``regdat.sh'' and ``./../regformats/i386/i386-mpx-linux.dat''. */
22 
23 #include "server.h"
24 #include "regdef.h"
25 #include "tdesc.h"
26 
27 static struct reg regs_i386_mpx_linux[] = {
28  { "eax", 0, 32 },
29  { "ecx", 32, 32 },
30  { "edx", 64, 32 },
31  { "ebx", 96, 32 },
32  { "esp", 128, 32 },
33  { "ebp", 160, 32 },
34  { "esi", 192, 32 },
35  { "edi", 224, 32 },
36  { "eip", 256, 32 },
37  { "eflags", 288, 32 },
38  { "cs", 320, 32 },
39  { "ss", 352, 32 },
40  { "ds", 384, 32 },
41  { "es", 416, 32 },
42  { "fs", 448, 32 },
43  { "gs", 480, 32 },
44  { "st0", 512, 80 },
45  { "st1", 592, 80 },
46  { "st2", 672, 80 },
47  { "st3", 752, 80 },
48  { "st4", 832, 80 },
49  { "st5", 912, 80 },
50  { "st6", 992, 80 },
51  { "st7", 1072, 80 },
52  { "fctrl", 1152, 32 },
53  { "fstat", 1184, 32 },
54  { "ftag", 1216, 32 },
55  { "fiseg", 1248, 32 },
56  { "fioff", 1280, 32 },
57  { "foseg", 1312, 32 },
58  { "fooff", 1344, 32 },
59  { "fop", 1376, 32 },
60  { "xmm0", 1408, 128 },
61  { "xmm1", 1536, 128 },
62  { "xmm2", 1664, 128 },
63  { "xmm3", 1792, 128 },
64  { "xmm4", 1920, 128 },
65  { "xmm5", 2048, 128 },
66  { "xmm6", 2176, 128 },
67  { "xmm7", 2304, 128 },
68  { "mxcsr", 2432, 32 },
69  { "orig_eax", 2464, 32 },
70  { "ymm0h", 2496, 128 },
71  { "ymm1h", 2624, 128 },
72  { "ymm2h", 2752, 128 },
73  { "ymm3h", 2880, 128 },
74  { "ymm4h", 3008, 128 },
75  { "ymm5h", 3136, 128 },
76  { "ymm6h", 3264, 128 },
77  { "ymm7h", 3392, 128 },
78  { "bnd0raw", 3520, 128 },
79  { "bnd1raw", 3648, 128 },
80  { "bnd2raw", 3776, 128 },
81  { "bnd3raw", 3904, 128 },
82  { "bndcfgu", 4032, 64 },
83  { "bndstatus", 4096, 64 },
84 };
85 
86 static const char *expedite_regs_i386_mpx_linux[] = { "ebp", "esp", "eip", 0 };
87 static const char *xmltarget_i386_mpx_linux = "i386-mpx-linux.xml";
88 
90 
91 void
93 {
94  static struct target_desc tdesc_i386_mpx_linux_s;
95  struct target_desc *result = &tdesc_i386_mpx_linux_s;
96 
97  result->reg_defs = regs_i386_mpx_linux;
98  result->num_registers = sizeof (regs_i386_mpx_linux) / sizeof (regs_i386_mpx_linux[0]);
101 
102  init_target_desc (result);
103 
104  tdesc_i386_mpx_linux = result;
105 }
const struct target_desc * tdesc_i386_mpx_linux
const char ** expedite_regs
Definition: tdesc.h:41
const char * xmltarget
Definition: tdesc.h:47
void init_registers_i386_mpx_linux(void)
int num_registers
Definition: tdesc.h:34
static const char * expedite_regs_i386_mpx_linux[]
static const char * xmltarget_i386_mpx_linux
void init_target_desc(struct target_desc *tdesc)
Definition: tdesc.c:23
struct reg * reg_defs
Definition: tdesc.h:30
static struct reg regs_i386_mpx_linux[]