diff options
author | Tom Tromey <tromey@adacore.com> | 2019-08-14 08:40:18 -0600 |
---|---|---|
committer | Tom Tromey <tromey@adacore.com> | 2019-08-14 08:40:18 -0600 |
commit | b1c896b365f2dbcd14145a88d103623244cf0fb0 (patch) | |
tree | f59508af3937e9a6d6c3e9e42a169809425927f3 /gdb | |
parent | dfc19da6a6d43390544fa446bb1a33723b339a77 (diff) | |
download | binutils-b1c896b365f2dbcd14145a88d103623244cf0fb0.zip binutils-b1c896b365f2dbcd14145a88d103623244cf0fb0.tar.gz binutils-b1c896b365f2dbcd14145a88d103623244cf0fb0.tar.bz2 |
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.
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/darwin-nat-info.c | 1 | ||||
-rw-r--r-- | gdb/darwin-nat.c | 1 |
3 files changed, 7 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 1b7dabb..15904da 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -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>: diff --git a/gdb/darwin-nat-info.c b/gdb/darwin-nat-info.c index 103ac2a..4469cd5 100644 --- a/gdb/darwin-nat-info.c +++ b/gdb/darwin-nat-info.c @@ -34,6 +34,7 @@ #include "value.h" #include "gdbcmd.h" #include "inferior.h" +#include "gdbarch.h" #include <sys/sysctl.h> diff --git a/gdb/darwin-nat.c b/gdb/darwin-nat.c index f890e13..8f71def 100644 --- a/gdb/darwin-nat.c +++ b/gdb/darwin-nat.c @@ -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> |