Re: [PATCH v2 0/2] Various build fixes for NetBSD

John Baldwin
2017-09-04T22:18:23Z

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