Message ID | 20170605121100.GA3277@SDF.ORG |
---|---|
State | New, archived |
Headers |
Received: (qmail 115183 invoked by alias); 5 Jun 2017 12:11:04 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: <gdb-patches.sourceware.org> List-Unsubscribe: <mailto:gdb-patches-unsubscribe-##L=##H@sourceware.org> List-Subscribe: <mailto:gdb-patches-subscribe@sourceware.org> List-Archive: <http://sourceware.org/ml/gdb-patches/> List-Post: <mailto:gdb-patches@sourceware.org> List-Help: <mailto:gdb-patches-help@sourceware.org>, <http://sourceware.org/ml/#faqs> Sender: gdb-patches-owner@sourceware.org Delivered-To: mailing list gdb-patches@sourceware.org Received: (qmail 114353 invoked by uid 89); 5 Jun 2017 12:11:04 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-24.1 required=5.0 tests=AWL, BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, KAM_LAZY_DOMAIN_SECURITY, RP_MATCHES_RCVD autolearn=ham version=3.3.2 spammy=Hx-languages-length:487 X-HELO: mx.sdf.org Received: from ol.sdf.org (HELO mx.sdf.org) (205.166.94.20) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 05 Jun 2017 12:11:02 +0000 Received: from sdf.org (IDENT:coypu@sdf.lonestar.org [205.166.94.15]) by mx.sdf.org (8.15.2/8.14.5) with ESMTPS id v55CB190022185 (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256 bits) verified NO) for <gdb-patches@sourceware.org>; Mon, 5 Jun 2017 12:11:01 GMT Received: (from coypu@localhost) by sdf.org (8.15.2/8.12.8/Submit) id v55CB15w022015 for gdb-patches@sourceware.org; Mon, 5 Jun 2017 12:11:01 GMT Date: Mon, 5 Jun 2017 12:11:01 +0000 From: coypu <coypu@sdf.org> To: gdb-patches@sourceware.org Subject: [PATCH 1/1] Need _KMEMUSER for including sys/proc.h on netbsd Message-ID: <20170605121100.GA3277@SDF.ORG> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.8.0 (2017-02-23) |
Commit Message
coypu
June 5, 2017, 12:11 p.m. UTC
--- gdb/bsd-kvm.c | 1 + 1 file changed, 1 insertion(+)
Comments
On Monday, June 05, 2017 12:11:01 PM coypu wrote: > --- > gdb/bsd-kvm.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/gdb/bsd-kvm.c b/gdb/bsd-kvm.c > index 98e24283..f872fc08 100644 > --- a/gdb/bsd-kvm.c > +++ b/gdb/bsd-kvm.c > @@ -17,6 +17,7 @@ > You should have received a copy of the GNU General Public License > along with this program. If not, see <http://www.gnu.org/licenses/>. */ > > +#define _KMEMUSER 1 > #include "defs.h" > #include "cli/cli-cmds.h" > #include "command.h" > This is ok with me. FreeBSD doesn't use _KMEMUSER for anything, but for FreeBSD we use an out-of-tree libkvm target instead of this one anyway.
On Tue, Jun 06, 2017 at 10:44:25AM -0700, John Baldwin wrote: > On Monday, June 05, 2017 12:11:01 PM coypu wrote: > > --- > > gdb/bsd-kvm.c | 1 + > > 1 file changed, 1 insertion(+) > > > > diff --git a/gdb/bsd-kvm.c b/gdb/bsd-kvm.c > > index 98e24283..f872fc08 100644 > > --- a/gdb/bsd-kvm.c > > +++ b/gdb/bsd-kvm.c > > @@ -17,6 +17,7 @@ > > You should have received a copy of the GNU General Public License > > along with this program. If not, see <http://www.gnu.org/licenses/>. */ > > > > +#define _KMEMUSER 1 > > #include "defs.h" > > #include "cli/cli-cmds.h" > > #include "command.h" > > > > This is ok with me. FreeBSD doesn't use _KMEMUSER for anything, but for > FreeBSD we use an out-of-tree libkvm target instead of this one anyway. > Same for this one, if it's ok, can it be committed? Thanks
On Tue, Jun 06, 2017 at 10:44:25AM -0700, John Baldwin wrote: > On Monday, June 05, 2017 12:11:01 PM coypu wrote: > > --- > > gdb/bsd-kvm.c | 1 + > > 1 file changed, 1 insertion(+) > > > > diff --git a/gdb/bsd-kvm.c b/gdb/bsd-kvm.c > > index 98e24283..f872fc08 100644 > > --- a/gdb/bsd-kvm.c > > +++ b/gdb/bsd-kvm.c > > @@ -17,6 +17,7 @@ > > You should have received a copy of the GNU General Public License > > along with this program. If not, see <http://www.gnu.org/licenses/>. */ > > > > +#define _KMEMUSER 1 > > #include "defs.h" > > #include "cli/cli-cmds.h" > > #include "command.h" > > > > This is ok with me. FreeBSD doesn't use _KMEMUSER for anything, but for > FreeBSD we use an out-of-tree libkvm target instead of this one anyway. > > -- > John Baldwin ping?
diff --git a/gdb/bsd-kvm.c b/gdb/bsd-kvm.c index 98e24283..f872fc08 100644 --- a/gdb/bsd-kvm.c +++ b/gdb/bsd-kvm.c @@ -17,6 +17,7 @@ You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>. */ +#define _KMEMUSER 1 #include "defs.h" #include "cli/cli-cmds.h" #include "command.h"