From 366f550a593c7e6bae3699a4b6d65fe937af5603 Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Sat, 30 May 2020 18:41:30 +0000 Subject: [PATCH] hurd: add missing include MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit 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 | 4 ++++ gdb/gnu-nat.c | 1 + 2 files changed, 5 insertions(+) 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" -- 2.30.2