diff options
Diffstat (limited to 'gdb/nat/x86-dregs.h')
-rw-r--r-- | gdb/nat/x86-dregs.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/gdb/nat/x86-dregs.h b/gdb/nat/x86-dregs.h index 67384a2..e8a2e00 100644 --- a/gdb/nat/x86-dregs.h +++ b/gdb/nat/x86-dregs.h @@ -17,6 +17,9 @@ You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>. */ +#ifndef NAT_X86_DREGS_H +#define NAT_X86_DREGS_H + /* Support for hardware watchpoints and breakpoints using the x86 debug registers. @@ -29,8 +32,6 @@ counts, and allow to watch regions up to 16 bytes long (32 bytes on 64 bit hosts). */ -#ifndef X86_DREGS_H -#define X86_DREGS_H 1 #include "common/break-common.h" /* target_hw_bp_type */ @@ -132,4 +133,4 @@ extern int x86_dr_stopped_by_watchpoint (struct x86_debug_reg_state *state); triggered. Otherwise return false. */ extern int x86_dr_stopped_by_hw_breakpoint (struct x86_debug_reg_state *state); -#endif /* X86_DREGS_H */ +#endif /* NAT_X86_DREGS_H */ |