Fix gdb build on macOS

Internal testing showed that the macOS port did not build.  The
breakage was caused by the patch to remove the gdbarch.h include from
defs.h.  This patch fixes the problem.

gdb/ChangeLog
2019-08-14  Tom Tromey  <tromey@adacore.com>

	* darwin-nat.c: Include gdbarch.h.
	* darwin-nat-info.c: Include gdbarch.h.
This commit is contained in:
Tom Tromey 2019-08-14 08:40:18 -06:00
parent dfc19da6a6
commit b1c896b365
3 changed files with 7 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2019-08-14 Tom Tromey <tromey@adacore.com>
* darwin-nat.c: Include gdbarch.h.
* darwin-nat-info.c: Include gdbarch.h.
2019-08-13 Tom Tromey <tom@tromey.com>
* tui/tui-data.h (struct tui_gen_win_info) <last_visible_line>:

View File

@ -34,6 +34,7 @@
#include "value.h"
#include "gdbcmd.h"
#include "inferior.h"
#include "gdbarch.h"
#include <sys/sysctl.h>

View File

@ -37,6 +37,7 @@
#include "arch-utils.h"
#include "bfd.h"
#include "bfd/mach-o.h"
#include "gdbarch.h"
#include <copyfile.h>
#include <sys/ptrace.h>