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:
Pedro Alves 2014-10-20 00:06:55 +01:00
parent 570dc176ff
commit 2f56f7c302
2 changed files with 7 additions and 2 deletions

View File

@ -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>

View File

@ -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. */