[PATCH 30/57][Arm][GAS] Add support for MVE instructions: vqmovnt, vqmovnb, vqmovunt...
[binutils-gdb.git] / gdb / hppa-linux-offsets.h
blob29ec394ae927566553d1ae5f2885f85f498e729e
1 /* Register offsets for HPPA running GNU/Linux.
3 Copyright (C) 2007-2019 Free Software Foundation, Inc.
5 This file is part of GDB.
7 This program is free software; you can redistribute it and/or modify
8 it under the terms of the GNU General Public License as published by
9 the Free Software Foundation; either version 3 of the License, or
10 (at your option) any later version.
12 This program is distributed in the hope that it will be useful,
13 but WITHOUT ANY WARRANTY; without even the implied warranty of
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 GNU General Public License for more details.
17 You should have received a copy of the GNU General Public License
18 along with this program. If not, see <http://www.gnu.org/licenses/>. */
20 #ifndef HPPA_LINUX_OFFSETS_H
21 #define HPPA_LINUX_OFFSETS_H
23 #define PT_PSW offsetof(struct pt_regs, gr[ 0])
24 #define PT_GR1 offsetof(struct pt_regs, gr[ 1])
25 #define PT_GR2 offsetof(struct pt_regs, gr[ 2])
26 #define PT_GR3 offsetof(struct pt_regs, gr[ 3])
27 #define PT_GR4 offsetof(struct pt_regs, gr[ 4])
28 #define PT_GR5 offsetof(struct pt_regs, gr[ 5])
29 #define PT_GR6 offsetof(struct pt_regs, gr[ 6])
30 #define PT_GR7 offsetof(struct pt_regs, gr[ 7])
31 #define PT_GR8 offsetof(struct pt_regs, gr[ 8])
32 #define PT_GR9 offsetof(struct pt_regs, gr[ 9])
33 #define PT_GR10 offsetof(struct pt_regs, gr[10])
34 #define PT_GR11 offsetof(struct pt_regs, gr[11])
35 #define PT_GR12 offsetof(struct pt_regs, gr[12])
36 #define PT_GR13 offsetof(struct pt_regs, gr[13])
37 #define PT_GR14 offsetof(struct pt_regs, gr[14])
38 #define PT_GR15 offsetof(struct pt_regs, gr[15])
39 #define PT_GR16 offsetof(struct pt_regs, gr[16])
40 #define PT_GR17 offsetof(struct pt_regs, gr[17])
41 #define PT_GR18 offsetof(struct pt_regs, gr[18])
42 #define PT_GR19 offsetof(struct pt_regs, gr[19])
43 #define PT_GR20 offsetof(struct pt_regs, gr[20])
44 #define PT_GR21 offsetof(struct pt_regs, gr[21])
45 #define PT_GR22 offsetof(struct pt_regs, gr[22])
46 #define PT_GR23 offsetof(struct pt_regs, gr[23])
47 #define PT_GR24 offsetof(struct pt_regs, gr[24])
48 #define PT_GR25 offsetof(struct pt_regs, gr[25])
49 #define PT_GR26 offsetof(struct pt_regs, gr[26])
50 #define PT_GR27 offsetof(struct pt_regs, gr[27])
51 #define PT_GR28 offsetof(struct pt_regs, gr[28])
52 #define PT_GR29 offsetof(struct pt_regs, gr[29])
53 #define PT_GR30 offsetof(struct pt_regs, gr[30])
54 #define PT_GR31 offsetof(struct pt_regs, gr[31])
55 #define PT_FR0 offsetof(struct pt_regs, fr[ 0])
56 #define PT_FR1 offsetof(struct pt_regs, fr[ 1])
57 #define PT_FR2 offsetof(struct pt_regs, fr[ 2])
58 #define PT_FR3 offsetof(struct pt_regs, fr[ 3])
59 #define PT_FR4 offsetof(struct pt_regs, fr[ 4])
60 #define PT_FR5 offsetof(struct pt_regs, fr[ 5])
61 #define PT_FR6 offsetof(struct pt_regs, fr[ 6])
62 #define PT_FR7 offsetof(struct pt_regs, fr[ 7])
63 #define PT_FR8 offsetof(struct pt_regs, fr[ 8])
64 #define PT_FR9 offsetof(struct pt_regs, fr[ 9])
65 #define PT_FR10 offsetof(struct pt_regs, fr[10])
66 #define PT_FR11 offsetof(struct pt_regs, fr[11])
67 #define PT_FR12 offsetof(struct pt_regs, fr[12])
68 #define PT_FR13 offsetof(struct pt_regs, fr[13])
69 #define PT_FR14 offsetof(struct pt_regs, fr[14])
70 #define PT_FR15 offsetof(struct pt_regs, fr[15])
71 #define PT_FR16 offsetof(struct pt_regs, fr[16])
72 #define PT_FR17 offsetof(struct pt_regs, fr[17])
73 #define PT_FR18 offsetof(struct pt_regs, fr[18])
74 #define PT_FR19 offsetof(struct pt_regs, fr[19])
75 #define PT_FR20 offsetof(struct pt_regs, fr[20])
76 #define PT_FR21 offsetof(struct pt_regs, fr[21])
77 #define PT_FR22 offsetof(struct pt_regs, fr[22])
78 #define PT_FR23 offsetof(struct pt_regs, fr[23])
79 #define PT_FR24 offsetof(struct pt_regs, fr[24])
80 #define PT_FR25 offsetof(struct pt_regs, fr[25])
81 #define PT_FR26 offsetof(struct pt_regs, fr[26])
82 #define PT_FR27 offsetof(struct pt_regs, fr[27])
83 #define PT_FR28 offsetof(struct pt_regs, fr[28])
84 #define PT_FR29 offsetof(struct pt_regs, fr[29])
85 #define PT_FR30 offsetof(struct pt_regs, fr[30])
86 #define PT_FR31 offsetof(struct pt_regs, fr[31])
87 #define PT_SR0 offsetof(struct pt_regs, sr[ 0])
88 #define PT_SR1 offsetof(struct pt_regs, sr[ 1])
89 #define PT_SR2 offsetof(struct pt_regs, sr[ 2])
90 #define PT_SR3 offsetof(struct pt_regs, sr[ 3])
91 #define PT_SR4 offsetof(struct pt_regs, sr[ 4])
92 #define PT_SR5 offsetof(struct pt_regs, sr[ 5])
93 #define PT_SR6 offsetof(struct pt_regs, sr[ 6])
94 #define PT_SR7 offsetof(struct pt_regs, sr[ 7])
95 #define PT_IASQ0 offsetof(struct pt_regs, iasq[0])
96 #define PT_IASQ1 offsetof(struct pt_regs, iasq[1])
97 #define PT_IAOQ0 offsetof(struct pt_regs, iaoq[0])
98 #define PT_IAOQ1 offsetof(struct pt_regs, iaoq[1])
99 #define PT_CR27 offsetof(struct pt_regs, cr27)
100 #define PT_ORIG_R28 offsetof(struct pt_regs, orig_r28)
101 #define PT_KSP offsetof(struct pt_regs, ksp)
102 #define PT_KPC offsetof(struct pt_regs, kpc)
103 #define PT_SAR offsetof(struct pt_regs, sar)
104 #define PT_IIR offsetof(struct pt_regs, iir)
105 #define PT_ISR offsetof(struct pt_regs, isr)
106 #define PT_IOR offsetof(struct pt_regs, ior)
108 #endif /* HPPA_LINUX_OFFSETS_H */