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.
This commit is contained in:
parent
570dc176ff
commit
2f56f7c302
@ -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>
|
2015-02-27 Tom Tromey <tromey@redhat.com>
|
||||||
Pedro Alves <palves@redhat.com>
|
Pedro Alves <palves@redhat.com>
|
||||||
|
|
||||||
|
@ -32,8 +32,7 @@
|
|||||||
#ifndef X86_DREGS_H
|
#ifndef X86_DREGS_H
|
||||||
#define X86_DREGS_H 1
|
#define X86_DREGS_H 1
|
||||||
|
|
||||||
/* Forward declaration. */
|
#include "break-common.h" /* target_hw_bp_type */
|
||||||
enum target_hw_bp_type;
|
|
||||||
|
|
||||||
/* Low-level function vector. */
|
/* Low-level function vector. */
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user