aboutsummaryrefslogtreecommitdiff
path: root/gdb
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
parentf14871bfa408cf499e1783bc3e2aabb1bd3cf9a7 (diff)
downloadgdb-366f550a593c7e6bae3699a4b6d65fe937af5603.zip
gdb-366f550a593c7e6bae3699a4b6d65fe937af5603.tar.gz
gdb-366f550a593c7e6bae3699a4b6d65fe937af5603.tar.bz2
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')
-rw-r--r--gdb/ChangeLog4
-rw-r--r--gdb/gnu-nat.c1
2 files changed, 5 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 019e900..30714f5 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,9 @@
2020-05-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
+ * gnu-nat.c: Include "gdbarch.h".
+
+2020-05-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
+
* reply_mig_hack.awk (Error return): Cast function through
void *, to bypass compiler function call check.
diff --git a/gdb/gnu-nat.c b/gdb/gnu-nat.c
index 3b438a9..9b93488 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"