From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26866 invoked by alias); 21 Dec 2011 21:26:29 -0000 Received: (qmail 26713 invoked by uid 22791); 21 Dec 2011 21:26:27 -0000 X-SWARE-Spam-Status: No, hits=-3.3 required=5.0 tests=AWL,BAYES_00,RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from sibelius.xs4all.nl (HELO glazunov.sibelius.xs4all.nl) (83.163.83.176) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 21 Dec 2011 21:26:09 +0000 Received: from glazunov.sibelius.xs4all.nl (kettenis@localhost [127.0.0.1]) by glazunov.sibelius.xs4all.nl (8.14.5/8.14.3) with ESMTP id pBLLQ4k8022980; Wed, 21 Dec 2011 22:26:04 +0100 (CET) Received: (from kettenis@localhost) by glazunov.sibelius.xs4all.nl (8.14.5/8.14.3/Submit) id pBLLQ2Fl013069; Wed, 21 Dec 2011 22:26:02 +0100 (CET) Date: Wed, 21 Dec 2011 21:27:00 -0000 Message-Id: <201112212126.pBLLQ2Fl013069@glazunov.sibelius.xs4all.nl> From: Mark Kettenis To: jan.kratochvil@redhat.com CC: gdb-patches@sourceware.org In-reply-to: <20111221171315.GA18194@host2.jankratochvil.net> (message from Jan Kratochvil on Wed, 21 Dec 2011 18:13:15 +0100) Subject: Re: [PATCH] PIE support for OpenBSD References: <201112172108.pBHL8Th2032226@glazunov.sibelius.xs4all.nl> <20111221171315.GA18194@host2.jankratochvil.net> 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 X-SW-Source: 2011-12/txt/msg00749.txt.bz2 > Date: Wed, 21 Dec 2011 18:13:15 +0100 > From: Jan Kratochvil > > On Sat, 17 Dec 2011 22:08:29 +0100, Mark Kettenis wrote: > > For now this is OpenBSD-specific, but FreeBSD and NetBSD might > > implement the PIOD_READ_AUXV request at some point too. > [...] > > * inf-ptrace.c [PT_IO && PIOD_READ_AUXV] > > So why didn't you put it into *bsd*-nat.c files? There is already PT_IO support code in inf-ptrace.c. It makes sense to keep it all together. I guess I could move all that code into a seperate bsd-nat.c file, but that's quite a big undertaking. And inf-ptrace.c *BSD really is the primary user of inf-ptrace.c anyway. The various Linux targets only need it to support ancient versions of the Linux kernels; linux-nat.c ovverrides everything except for to_fetch_registers and to_store_registers. And those are overridden by most, if not all, *-linux-nat.c files. Cheers, Mark