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 | |
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')
-rw-r--r-- | gdb/ChangeLog | 6 | ||||
-rw-r--r-- | gdb/nat/x86-dregs.h | 3 |
2 files changed, 7 insertions, 2 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index ab36c65..92f85f4 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,9 @@ +2015-02-27 Pedro Alves <palves@redhat.com> + + * nat/x86-dregs.h (enum target_hw_bp_type): Remove forward + declaration. + Include break-common.h. + 2015-02-27 Tom Tromey <tromey@redhat.com> Pedro Alves <palves@redhat.com> 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. */ |