Remove GDBSERVER uses from x86-dregs.c
This commit makes nat/x86-dregs.c include common-defs.h rather than defs.h or server.h. An extra header required including in order to support this change. gdb/ChangeLog: * nat/x86-dregs.c: Include common-defs.h and break-common.h. Don't include defs.h or server.h.
This commit is contained in:
parent
53f8136297
commit
296b1496f7
|
@ -1,3 +1,8 @@
|
|||
2014-09-12 Gary Benson <gbenson@redhat.com>
|
||||
|
||||
* nat/x86-dregs.c: Include common-defs.h and break-common.h.
|
||||
Don't include defs.h or server.h.
|
||||
|
||||
2014-09-12 Gary Benson <gbenson@redhat.com>
|
||||
|
||||
* nat/linux-btrace.c: Include common-defs.h.
|
||||
|
|
|
@ -17,13 +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/>. */
|
||||
|
||||
#ifdef GDBSERVER
|
||||
#include "server.h"
|
||||
#else
|
||||
#include "defs.h"
|
||||
#include "inferior.h"
|
||||
#endif
|
||||
#include "common-defs.h"
|
||||
#include "x86-dregs.h"
|
||||
#include "break-common.h"
|
||||
|
||||
/* Support for hardware watchpoints and breakpoints using the x86
|
||||
debug registers.
|
||||
|
|
Loading…
Reference in New Issue