X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=gdb%2Fhppa-linux-offsets.h;h=6d5f76b410c974a82529f6bb83a3bdb29dc25f25;hb=a0776b131d7a154125fdc4d22b1dda967c790ae9;hp=f931fe877103c920ed68a3f9e75c9f74657091db;hpb=0fb0cc7590113e9b459dfcc48dc71c9d419d9580;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/hppa-linux-offsets.h b/gdb/hppa-linux-offsets.h index f931fe8771..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, 2008, 2009 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 */