summaryrefslogtreecommitdiff
path: root/gdb/gnu-nat.c
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2020-05-30 18:41:30 +0000
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2020-05-30 18:41:30 +0000
commit366f550a593c7e6bae3699a4b6d65fe937af5603 (patch)
tree76d190d480379a279e8b04aba7f8dd1134631362 /gdb/gnu-nat.c
parentf14871bfa408cf499e1783bc3e2aabb1bd3cf9a7 (diff)
downloadbinutils-gdb-366f550a593c7e6bae3699a4b6d65fe937af5603.tar.gz
hurd: add missing include
Fixes ../../gdb/gnu-nat.c:2522:14: error: ‘target_gdbarch’ was not declared in this scope; did you mean ‘target_detach’? 2522 | paddress (target_gdbarch (), memaddr), pulongest (len), gdb/Changelog: * gnu-nat.c: Include "gdbarch.h".
Diffstat (limited to 'gdb/gnu-nat.c')
-rw-r--r--gdb/gnu-nat.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/gnu-nat.c b/gdb/gnu-nat.c
index 3b438a9a434..9b93488b41b 100644
--- a/gdb/gnu-nat.c
+++ b/gdb/gnu-nat.c
@@ -64,6 +64,7 @@ extern "C"
#include "language.h"
#include "target.h"
#include "gdbsupport/gdb_wait.h"
+#include "gdbarch.h"
#include "gdbcmd.h"
#include "gdbcore.h"
#include "gdbthread.h"