From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 104896 invoked by alias); 4 Sep 2017 22:18:23 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Received: (qmail 104884 invoked by uid 89); 4 Sep 2017 22:18:23 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.8 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS,SPF_SOFTFAIL autolearn=no version=3.3.2 spammy=PCB, pcb, H*M:ralph X-HELO: mail.baldwin.cx Received: from bigwig.baldwin.cx (HELO mail.baldwin.cx) (96.47.65.170) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 04 Sep 2017 22:18:17 +0000 Received: from ralph.baldwin.cx (c-73-231-226-104.hsd1.ca.comcast.net [73.231.226.104]) by mail.baldwin.cx (Postfix) with ESMTPSA id A93CA10AB01; Mon, 4 Sep 2017 18:18:15 -0400 (EDT) From: John Baldwin To: coypu@sdf.org Cc: Pedro Alves , gdb-patches@sourceware.org Subject: Re: [PATCH v2 0/2] Various build fixes for NetBSD Date: Mon, 04 Sep 2017 22:18:00 -0000 Message-ID: <2814127.nGX6R9jRFe@ralph.baldwin.cx> User-Agent: KMail/4.14.10 (FreeBSD/11.1-STABLE; KDE/4.14.30; amd64; ; ) In-Reply-To: <20170904200416.GA5610@SDF.ORG> References: <20170725165051.9132-1-jhb@FreeBSD.org> <1618758.R810WcpHCu@ralph.baldwin.cx> <20170904200416.GA5610@SDF.ORG> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-IsSubscribed: yes X-SW-Source: 2017-09/txt/msg00073.txt.bz2 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