GDB (xrefs)

/tmp/gdb-8.1/gdb/hppa-linux-offsets.h
Go to the documentation of this file.
1 /* Register offsets for HPPA running GNU/Linux.
2
3 Copyright (C) 2007-2018 Free Software Foundation, Inc.
4
5 This file is part of GDB.
6
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.
11
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.
16
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/>. */
19
20 #define PT_PSW offsetof(struct pt_regs, gr[ 0])
21 #define PT_GR1 offsetof(struct pt_regs, gr[ 1])
22 #define PT_GR2 offsetof(struct pt_regs, gr[ 2])
23 #define PT_GR3 offsetof(struct pt_regs, gr[ 3])
24 #define PT_GR4 offsetof(struct pt_regs, gr[ 4])
25 #define PT_GR5 offsetof(struct pt_regs, gr[ 5])
26 #define PT_GR6 offsetof(struct pt_regs, gr[ 6])
27 #define PT_GR7 offsetof(struct pt_regs, gr[ 7])
28 #define PT_GR8 offsetof(struct pt_regs, gr[ 8])
29 #define PT_GR9 offsetof(struct pt_regs, gr[ 9])
30 #define PT_GR10 offsetof(struct pt_regs, gr[10])
31 #define PT_GR11 offsetof(struct pt_regs, gr[11])
32 #define PT_GR12 offsetof(struct pt_regs, gr[12])
33 #define PT_GR13 offsetof(struct pt_regs, gr[13])
34 #define PT_GR14 offsetof(struct pt_regs, gr[14])
35 #define PT_GR15 offsetof(struct pt_regs, gr[15])
36 #define PT_GR16 offsetof(struct pt_regs, gr[16])
37 #define PT_GR17 offsetof(struct pt_regs, gr[17])
38 #define PT_GR18 offsetof(struct pt_regs, gr[18])
39 #define PT_GR19 offsetof(struct pt_regs, gr[19])
40 #define PT_GR20 offsetof(struct pt_regs, gr[20])
41 #define PT_GR21 offsetof(struct pt_regs, gr[21])
42 #define PT_GR22 offsetof(struct pt_regs, gr[22])
43 #define PT_GR23 offsetof(struct pt_regs, gr[23])
44 #define PT_GR24 offsetof(struct pt_regs, gr[24])
45 #define PT_GR25 offsetof(struct pt_regs, gr[25])
46 #define PT_GR26 offsetof(struct pt_regs, gr[26])
47 #define PT_GR27 offsetof(struct pt_regs, gr[27])
48 #define PT_GR28 offsetof(struct pt_regs, gr[28])
49 #define PT_GR29 offsetof(struct pt_regs, gr[29])
50 #define PT_GR30 offsetof(struct pt_regs, gr[30])
51 #define PT_GR31 offsetof(struct pt_regs, gr[31])
52 #define PT_FR0 offsetof(struct pt_regs, fr[ 0])
53 #define PT_FR1 offsetof(struct pt_regs, fr[ 1])
54 #define PT_FR2 offsetof(struct pt_regs, fr[ 2])
55 #define PT_FR3 offsetof(struct pt_regs, fr[ 3])
56 #define PT_FR4 offsetof(struct pt_regs, fr[ 4])
57 #define PT_FR5 offsetof(struct pt_regs, fr[ 5])
58 #define PT_FR6 offsetof(struct pt_regs, fr[ 6])
59 #define PT_FR7 offsetof(struct pt_regs, fr[ 7])
60 #define PT_FR8 offsetof(struct pt_regs, fr[ 8])
61 #define PT_FR9 offsetof(struct pt_regs, fr[ 9])
62 #define PT_FR10 offsetof(struct pt_regs, fr[10])
63 #define PT_FR11 offsetof(struct pt_regs, fr[11])
64 #define PT_FR12 offsetof(struct pt_regs, fr[12])
65 #define PT_FR13 offsetof(struct pt_regs, fr[13])
66 #define PT_FR14 offsetof(struct pt_regs, fr[14])
67 #define PT_FR15 offsetof(struct pt_regs, fr[15])
68 #define PT_FR16 offsetof(struct pt_regs, fr[16])
69 #define PT_FR17 offsetof(struct pt_regs, fr[17])
70 #define PT_FR18 offsetof(struct pt_regs, fr[18])
71 #define PT_FR19 offsetof(struct pt_regs, fr[19])
72 #define PT_FR20 offsetof(struct pt_regs, fr[20])
73 #define PT_FR21 offsetof(struct pt_regs, fr[21])
74 #define PT_FR22 offsetof(struct pt_regs, fr[22])
75 #define PT_FR23 offsetof(struct pt_regs, fr[23])
76 #define PT_FR24 offsetof(struct pt_regs, fr[24])
77 #define PT_FR25 offsetof(struct pt_regs, fr[25])
78 #define PT_FR26 offsetof(struct pt_regs, fr[26])
79 #define PT_FR27 offsetof(struct pt_regs, fr[27])
80 #define PT_FR28 offsetof(struct pt_regs, fr[28])
81 #define PT_FR29 offsetof(struct pt_regs, fr[29])
82 #define PT_FR30 offsetof(struct pt_regs, fr[30])
83 #define PT_FR31 offsetof(struct pt_regs, fr[31])
84 #define PT_SR0 offsetof(struct pt_regs, sr[ 0])
85 #define PT_SR1 offsetof(struct pt_regs, sr[ 1])
86 #define PT_SR2 offsetof(struct pt_regs, sr[ 2])
87 #define PT_SR3 offsetof(struct pt_regs, sr[ 3])
88 #define PT_SR4 offsetof(struct pt_regs, sr[ 4])
89 #define PT_SR5 offsetof(struct pt_regs, sr[ 5])
90 #define PT_SR6 offsetof(struct pt_regs, sr[ 6])
91 #define PT_SR7 offsetof(struct pt_regs, sr[ 7])
92 #define PT_IASQ0 offsetof(struct pt_regs, iasq[0])
93 #define PT_IASQ1 offsetof(struct pt_regs, iasq[1])
94 #define PT_IAOQ0 offsetof(struct pt_regs, iaoq[0])
95 #define PT_IAOQ1 offsetof(struct pt_regs, iaoq[1])
96 #define PT_CR27 offsetof(struct pt_regs, cr27)
97 #define PT_ORIG_R28 offsetof(struct pt_regs, orig_r28)
98 #define PT_KSP offsetof(struct pt_regs, ksp)
99 #define PT_KPC offsetof(struct pt_regs, kpc)
100 #define PT_SAR offsetof(struct pt_regs, sar)
101 #define PT_IIR offsetof(struct pt_regs, iir)
102 #define PT_ISR offsetof(struct pt_regs, isr)
103 #define PT_IOR offsetof(struct pt_regs, ior)