[PATCHv2 4/7] hurd: add missing include
Simon Marchi
simark@simark.ca
Sat May 30 14:48:39 GMT 2020
On 2020-05-29 6:02 p.m., Samuel Thibault wrote:
> 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:
>
> 2020-05-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
>
> * gnu-nat.c: Include "gdbarch.h".
>
> diff --git a/gdb/gnu-nat.c b/gdb/gnu-nat.c
> index 3b438a9a43..78e9ab7f71 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"
>
Thanks, this is ok.
Simon
More information about the Gdb-patches
mailing list