From: Kamil Rytarowski <n54@gmx.com>
To: gdb-patches@sourceware.org
Subject: [PATCH 1/5] Include the x86-bsd-nat.h header and fix the NetBSD/i386 build
Date: Wed, 23 Sep 2020 06:25:11 +0200 [thread overview]
Message-ID: <20200923042515.28245-2-n54@gmx.com> (raw)
In-Reply-To: <20200923042515.28245-1-n54@gmx.com>
In file included from ../../gdb/i386-nbsd-nat.c:26:
../../gdb/i386-bsd-nat.h:34:53: error: expected template-name before '<' token
34 | class i386_bsd_nat_target : public x86bsd_nat_target<BaseTarget>
| ^
../../gdb/i386-bsd-nat.h:34:53: error: expected '{' before '<' token
../../gdb/i386-nbsd-nat.c:74:45: error: aggregate 'i386_bsd_nat_target<nbsd_nat_target> the_i386_nbsd_nat_target' has incomplete type and cannot be defined
74 | static i386_bsd_nat_target<nbsd_nat_target> the_i386_nbsd_nat_target;
| ^~~~~~~~~~~~~~~~~~~~~~~~
gdb/ChangeLog:
* i386-nbsd-nat.c: Include "x86-bsd-nat.h".
---
gdb/ChangeLog | 4 ++++
gdb/i386-nbsd-nat.c | 1 +
2 files changed, 5 insertions(+)
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index ce9cef5f516..c95e681b4a8 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,7 @@
+2020-09-23 Kamil Rytarowski <n54@gmx.com>
+
+ * i386-nbsd-nat.c: Include "x86-bsd-nat.h".
+
2020-09-21 Tom Tromey <tromey@adacore.com>
* sparc-tdep.c (sparc32_skip_prologue): Use
diff --git a/gdb/i386-nbsd-nat.c b/gdb/i386-nbsd-nat.c
index ac775c1ff84..d535408f091 100644
--- a/gdb/i386-nbsd-nat.c
+++ b/gdb/i386-nbsd-nat.c
@@ -23,6 +23,7 @@
#include "target.h"
#include "i386-tdep.h"
+#include "x86-bsd-nat.h"
#include "i386-bsd-nat.h"
/* Support for debugging kernel virtual memory images. */
--
2.28.0
next prev parent reply other threads:[~2020-09-23 4:26 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-09-23 4:25 [PATCH 0/5] Refine the NetBSD support Kamil Rytarowski
2020-09-23 4:25 ` Kamil Rytarowski [this message]
2020-09-23 13:15 ` [PATCH 1/5] Include the x86-bsd-nat.h header and fix the NetBSD/i386 build Christian Biesinger via Gdb-patches
2020-09-23 13:29 ` Kamil Rytarowski
2020-09-28 20:52 ` Simon Marchi
2020-09-23 19:46 ` John Baldwin
2020-09-23 4:25 ` [PATCH 2/5] Preinitialize the sockaddr_un variable to zero Kamil Rytarowski
2020-09-28 20:57 ` Simon Marchi
2020-09-23 4:25 ` [PATCH 3/5] Refactor the NetBSD amd64 gdbserver support Kamil Rytarowski
2020-09-28 21:11 ` Simon Marchi
2020-09-23 4:25 ` [PATCH 4/5] Add NetBSD/i386 " Kamil Rytarowski
2020-09-23 4:25 ` [PATCH 5/5] Remove the old sanity check of sigcontext offsets for NetBSD/i386 Kamil Rytarowski
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200923042515.28245-2-n54@gmx.com \
--to=n54@gmx.com \
--cc=gdb-patches@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox