diff options
author | Pedro Alves <palves@redhat.com> | 2014-10-20 00:06:55 +0100 |
---|---|---|
committer | Pedro Alves <palves@redhat.com> | 2015-02-27 17:29:42 +0000 |
commit | 2f56f7c302c8d4012cc47d8bd261b151b2ddfa22 (patch) | |
tree | b1711c6c58a90eedd31118ae385453eb5d31df67 /gdb/nat | |
parent | 570dc176ff0e33525c4c1db981de87aa0dce742e (diff) | |
download | gdb-2f56f7c302c8d4012cc47d8bd261b151b2ddfa22.zip gdb-2f56f7c302c8d4012cc47d8bd261b151b2ddfa22.tar.gz gdb-2f56f7c302c8d4012cc47d8bd261b151b2ddfa22.tar.bz2 |
Don't forward declare enum target_hw_bp_type
Can't do that in C++.
2015-02-27 Pedro Alves <palves@redhat.com>
* nat/x86-dregs.h (enum target_hw_bp_type): Remove forward
declaration.
Include break-common.h.
Diffstat (limited to 'gdb/nat')
-rw-r--r-- | gdb/nat/x86-dregs.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/gdb/nat/x86-dregs.h b/gdb/nat/x86-dregs.h index ea82e62..a2b9926 100644 --- a/gdb/nat/x86-dregs.h +++ b/gdb/nat/x86-dregs.h @@ -32,8 +32,7 @@ #ifndef X86_DREGS_H #define X86_DREGS_H 1 -/* Forward declaration. */ -enum target_hw_bp_type; +#include "break-common.h" /* target_hw_bp_type */ /* Low-level function vector. */ |