From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21613 invoked by alias); 9 Jan 2007 13:43:55 -0000 Received: (qmail 21604 invoked by uid 22791); 9 Jan 2007 13:43:54 -0000 X-Spam-Check-By: sourceware.org Received: from nevyn.them.org (HELO nevyn.them.org) (66.93.172.17) by sourceware.org (qpsmtpd/0.31.1) with ESMTP; Tue, 09 Jan 2007 13:43:50 +0000 Received: from drow by nevyn.them.org with local (Exim 4.63) (envelope-from ) id 1H4HGR-0004LQ-Js; Tue, 09 Jan 2007 08:43:43 -0500 Date: Tue, 09 Jan 2007 13:43:00 -0000 From: Daniel Jacobowitz To: Markus Deuling Cc: GDB Discuss Subject: Re: Difference between infptrace and inf-ptrace Message-ID: <20070109134343.GB16313@nevyn.them.org> Mail-Followup-To: Markus Deuling , GDB Discuss References: <45A372C5.6020700@de.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <45A372C5.6020700@de.ibm.com> User-Agent: Mutt/1.5.13 (2006-08-11) X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2007-01/txt/msg00140.txt.bz2 On Tue, Jan 09, 2007 at 11:47:33AM +0100, Markus Deuling wrote: > Hi, > > its not clear to me what the difference is between infptrace.c and > inf-ptrace.[ch]. > > I think infptrace.c is the older one. Is it necessary to have both? > Shouldn't one interface > to ptrace be sufficient? > > A grep gives 25 configs using infptrace and 46 using inf-ptrace. You're right, infptrace.c is the older one. The interfaces are very different - to move from one to the other you really have to be able to test the changed config. Your grep was a little too simple; if you take a look at the grep results, you'll see that only a handful of configs still use infptrace.c: alpha-osf, i386-sco, powerpc-aix, rs6000-lynxos. The SCO and LynxOS configurations are going to be deleted soon but someone needs to update alpha-osf and powerpc-aix eventually. -- Daniel Jacobowitz CodeSourcery