From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14454 invoked by alias); 6 Sep 2004 04:59:32 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 14447 invoked from network); 6 Sep 2004 04:59:31 -0000 Received: from unknown (HELO legolas.inter.net.il) (192.114.186.24) by sourceware.org with SMTP; 6 Sep 2004 04:59:31 -0000 Received: from zaretski ([80.230.146.16]) by legolas.inter.net.il (MOS 3.5.3-GR) with ESMTP id CLZ44816 (AUTH halo1); Mon, 6 Sep 2004 07:59:27 +0300 (IDT) Date: Mon, 06 Sep 2004 04:59:00 -0000 From: "Eli Zaretskii" To: Andrew Cagney Message-ID: <01c493ce$Blat.v2.2.2$4f8cf380@zahav.net.il> Content-Transfer-Encoding: 7BIT Content-Type: text/plain; charset=ISO-8859-1 CC: gdb-patches@sources.redhat.com In-reply-to: <413B1E60.9060506@gnu.org> (message from Andrew Cagney on Sun, 05 Sep 2004 10:10:40 -0400) Subject: Re: [patch/rfc] Implement ptrace target vector inheritance Reply-to: Eli Zaretskii References: <413B1E60.9060506@gnu.org> X-SW-Source: 2004-09/txt/msg00097.txt.bz2 > Date: Sun, 05 Sep 2004 10:10:40 -0400 > From: Andrew Cagney > > The current native code constructs its target vector using a convoluted > combination of #ifdefs and global functions. > > This patch replaces all that with what is effectively a runtime > inheritance structure: > > inf-ptrace is-a inf-child is-a target > > I've updated/tested NetBSD/PPC, with a tweak to nbsdppc-nat. that > further extends the above with: > > nbsdppc-nat is-a inf-ptrace > > there were no regressions. > > The intent is for all natives to eventually migrate to this. > > Comments? My comments are: (1) Let's have this machinery documented in gdbint.texinfo. (2) The patch introduces a couple of user commands (like `udot') that should be documented in gdb.texinfo. (3) Several hunks in the patch do not belong to it: they are merely whitespace adjustments.