This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH v2 0/2] Various build fixes for NetBSD
- From: John Baldwin <jhb at freebsd dot org>
- To: coypu at sdf dot org
- Cc: Pedro Alves <palves at redhat dot com>, gdb-patches at sourceware dot org
- Date: Mon, 04 Sep 2017 15:18:12 -0700
- Subject: Re: [PATCH v2 0/2] Various build fixes for NetBSD
- Authentication-results: sourceware.org; auth=none
- References: <20170725165051.9132-1-jhb@FreeBSD.org> <1618758.R810WcpHCu@ralph.baldwin.cx> <20170904200416.GA5610@SDF.ORG>
On Monday, September 04, 2017 08:04:16 PM coypu@sdf.org wrote:
> Hi,
>
> I've needed amendments to patch #3, and an additional patch.
> The additional patch is needed as kamil had removed sys/user.h in
> netbsd.
To be clear, you now want bsd-kvm.o for NetBSD/amd64? Previously I had
included this but then removed it as the current amd64-nbsd-nat.c doesn't
include a call to 'bsd_kvm_add_target' with a suitable callback function
to supply registers from a PCB. Without that callback, the kvm target
won't be able to walk stacks or switch to other threads making it less
useful.
For now I will push the other fixes without bsd-kvm.o for amd64 but I can
add that in as a followup commit easily enough.
--
John Baldwin