hurd: add missing include
authorSamuel Thibault <samuel.thibault@ens-lyon.org>
Sat, 30 May 2020 18:41:30 +0000 (18:41 +0000)
committerSamuel Thibault <samuel.thibault@ens-lyon.org>
Sat, 30 May 2020 18:41:30 +0000 (18:41 +0000)
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".

gdb/ChangeLog
gdb/gnu-nat.c

index 019e9000d0438bb61fa07a491af07dc0b92d8b18..30714f52aaf4164a1ac68ed2accf6d35c0033d8a 100644 (file)
@@ -1,3 +1,7 @@
+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
index 3b438a9a434635cce204117951f094114c01814e..9b93488b41b3d1bf7099800d60462af000255d92 100644 (file)
@@ -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"