X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=gdb%2Fhppa-linux-offsets.h;h=6d5f76b410c974a82529f6bb83a3bdb29dc25f25;hb=a0776b131d7a154125fdc4d22b1dda967c790ae9;hp=947fdb0f88639f523fd20013ec73e05785c44f61;hpb=28e7fd62340426746f9c896cbc40c5d374ec47aa;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/hppa-linux-offsets.h b/gdb/hppa-linux-offsets.h index 947fdb0f88..6d5f76b410 100644 --- a/gdb/hppa-linux-offsets.h +++ b/gdb/hppa-linux-offsets.h @@ -1,6 +1,6 @@ /* Register offsets for HPPA running GNU/Linux. - Copyright (C) 2007-2013 Free Software Foundation, Inc. + Copyright (C) 2007-2020 Free Software Foundation, Inc. This file is part of GDB. @@ -17,6 +17,9 @@ You should have received a copy of the GNU General Public License along with this program. If not, see . */ +#ifndef HPPA_LINUX_OFFSETS_H +#define HPPA_LINUX_OFFSETS_H + #define PT_PSW offsetof(struct pt_regs, gr[ 0]) #define PT_GR1 offsetof(struct pt_regs, gr[ 1]) #define PT_GR2 offsetof(struct pt_regs, gr[ 2]) @@ -101,3 +104,5 @@ #define PT_IIR offsetof(struct pt_regs, iir) #define PT_ISR offsetof(struct pt_regs, isr) #define PT_IOR offsetof(struct pt_regs, ior) + +#endif /* HPPA_LINUX_OFFSETS_H */