GDB (API)
|
00001 /* Register offsets for HPPA running GNU/Linux. 00002 00003 Copyright (C) 2007-2013 Free Software Foundation, Inc. 00004 00005 This file is part of GDB. 00006 00007 This program is free software; you can redistribute it and/or modify 00008 it under the terms of the GNU General Public License as published by 00009 the Free Software Foundation; either version 3 of the License, or 00010 (at your option) any later version. 00011 00012 This program is distributed in the hope that it will be useful, 00013 but WITHOUT ANY WARRANTY; without even the implied warranty of 00014 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00015 GNU General Public License for more details. 00016 00017 You should have received a copy of the GNU General Public License 00018 along with this program. If not, see <http://www.gnu.org/licenses/>. */ 00019 00020 #define PT_PSW offsetof(struct pt_regs, gr[ 0]) 00021 #define PT_GR1 offsetof(struct pt_regs, gr[ 1]) 00022 #define PT_GR2 offsetof(struct pt_regs, gr[ 2]) 00023 #define PT_GR3 offsetof(struct pt_regs, gr[ 3]) 00024 #define PT_GR4 offsetof(struct pt_regs, gr[ 4]) 00025 #define PT_GR5 offsetof(struct pt_regs, gr[ 5]) 00026 #define PT_GR6 offsetof(struct pt_regs, gr[ 6]) 00027 #define PT_GR7 offsetof(struct pt_regs, gr[ 7]) 00028 #define PT_GR8 offsetof(struct pt_regs, gr[ 8]) 00029 #define PT_GR9 offsetof(struct pt_regs, gr[ 9]) 00030 #define PT_GR10 offsetof(struct pt_regs, gr[10]) 00031 #define PT_GR11 offsetof(struct pt_regs, gr[11]) 00032 #define PT_GR12 offsetof(struct pt_regs, gr[12]) 00033 #define PT_GR13 offsetof(struct pt_regs, gr[13]) 00034 #define PT_GR14 offsetof(struct pt_regs, gr[14]) 00035 #define PT_GR15 offsetof(struct pt_regs, gr[15]) 00036 #define PT_GR16 offsetof(struct pt_regs, gr[16]) 00037 #define PT_GR17 offsetof(struct pt_regs, gr[17]) 00038 #define PT_GR18 offsetof(struct pt_regs, gr[18]) 00039 #define PT_GR19 offsetof(struct pt_regs, gr[19]) 00040 #define PT_GR20 offsetof(struct pt_regs, gr[20]) 00041 #define PT_GR21 offsetof(struct pt_regs, gr[21]) 00042 #define PT_GR22 offsetof(struct pt_regs, gr[22]) 00043 #define PT_GR23 offsetof(struct pt_regs, gr[23]) 00044 #define PT_GR24 offsetof(struct pt_regs, gr[24]) 00045 #define PT_GR25 offsetof(struct pt_regs, gr[25]) 00046 #define PT_GR26 offsetof(struct pt_regs, gr[26]) 00047 #define PT_GR27 offsetof(struct pt_regs, gr[27]) 00048 #define PT_GR28 offsetof(struct pt_regs, gr[28]) 00049 #define PT_GR29 offsetof(struct pt_regs, gr[29]) 00050 #define PT_GR30 offsetof(struct pt_regs, gr[30]) 00051 #define PT_GR31 offsetof(struct pt_regs, gr[31]) 00052 #define PT_FR0 offsetof(struct pt_regs, fr[ 0]) 00053 #define PT_FR1 offsetof(struct pt_regs, fr[ 1]) 00054 #define PT_FR2 offsetof(struct pt_regs, fr[ 2]) 00055 #define PT_FR3 offsetof(struct pt_regs, fr[ 3]) 00056 #define PT_FR4 offsetof(struct pt_regs, fr[ 4]) 00057 #define PT_FR5 offsetof(struct pt_regs, fr[ 5]) 00058 #define PT_FR6 offsetof(struct pt_regs, fr[ 6]) 00059 #define PT_FR7 offsetof(struct pt_regs, fr[ 7]) 00060 #define PT_FR8 offsetof(struct pt_regs, fr[ 8]) 00061 #define PT_FR9 offsetof(struct pt_regs, fr[ 9]) 00062 #define PT_FR10 offsetof(struct pt_regs, fr[10]) 00063 #define PT_FR11 offsetof(struct pt_regs, fr[11]) 00064 #define PT_FR12 offsetof(struct pt_regs, fr[12]) 00065 #define PT_FR13 offsetof(struct pt_regs, fr[13]) 00066 #define PT_FR14 offsetof(struct pt_regs, fr[14]) 00067 #define PT_FR15 offsetof(struct pt_regs, fr[15]) 00068 #define PT_FR16 offsetof(struct pt_regs, fr[16]) 00069 #define PT_FR17 offsetof(struct pt_regs, fr[17]) 00070 #define PT_FR18 offsetof(struct pt_regs, fr[18]) 00071 #define PT_FR19 offsetof(struct pt_regs, fr[19]) 00072 #define PT_FR20 offsetof(struct pt_regs, fr[20]) 00073 #define PT_FR21 offsetof(struct pt_regs, fr[21]) 00074 #define PT_FR22 offsetof(struct pt_regs, fr[22]) 00075 #define PT_FR23 offsetof(struct pt_regs, fr[23]) 00076 #define PT_FR24 offsetof(struct pt_regs, fr[24]) 00077 #define PT_FR25 offsetof(struct pt_regs, fr[25]) 00078 #define PT_FR26 offsetof(struct pt_regs, fr[26]) 00079 #define PT_FR27 offsetof(struct pt_regs, fr[27]) 00080 #define PT_FR28 offsetof(struct pt_regs, fr[28]) 00081 #define PT_FR29 offsetof(struct pt_regs, fr[29]) 00082 #define PT_FR30 offsetof(struct pt_regs, fr[30]) 00083 #define PT_FR31 offsetof(struct pt_regs, fr[31]) 00084 #define PT_SR0 offsetof(struct pt_regs, sr[ 0]) 00085 #define PT_SR1 offsetof(struct pt_regs, sr[ 1]) 00086 #define PT_SR2 offsetof(struct pt_regs, sr[ 2]) 00087 #define PT_SR3 offsetof(struct pt_regs, sr[ 3]) 00088 #define PT_SR4 offsetof(struct pt_regs, sr[ 4]) 00089 #define PT_SR5 offsetof(struct pt_regs, sr[ 5]) 00090 #define PT_SR6 offsetof(struct pt_regs, sr[ 6]) 00091 #define PT_SR7 offsetof(struct pt_regs, sr[ 7]) 00092 #define PT_IASQ0 offsetof(struct pt_regs, iasq[0]) 00093 #define PT_IASQ1 offsetof(struct pt_regs, iasq[1]) 00094 #define PT_IAOQ0 offsetof(struct pt_regs, iaoq[0]) 00095 #define PT_IAOQ1 offsetof(struct pt_regs, iaoq[1]) 00096 #define PT_CR27 offsetof(struct pt_regs, cr27) 00097 #define PT_ORIG_R28 offsetof(struct pt_regs, orig_r28) 00098 #define PT_KSP offsetof(struct pt_regs, ksp) 00099 #define PT_KPC offsetof(struct pt_regs, kpc) 00100 #define PT_SAR offsetof(struct pt_regs, sar) 00101 #define PT_IIR offsetof(struct pt_regs, iir) 00102 #define PT_ISR offsetof(struct pt_regs, isr) 00103 #define PT_IOR offsetof(struct pt_regs, ior)