From: Samuel Thibault Date: Sat, 30 May 2020 18:41:30 +0000 (+0000) Subject: hurd: add missing include X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=366f550a593c7e6bae3699a4b6d65fe937af5603;p=binutils-gdb.git 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". --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 019e9000d04..30714f52aaf 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2020-05-30 Samuel Thibault + + * gnu-nat.c: Include "gdbarch.h". + 2020-05-30 Samuel Thibault * reply_mig_hack.awk (Error return): Cast function through 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"