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

John Baldwin jhb@freebsd.org
Mon Sep 4 22:18:00 GMT 2017


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



More information about the Gdb-patches mailing list