This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: Difference between infptrace and inf-ptrace
- From: Daniel Jacobowitz <drow at false dot org>
- To: Markus Deuling <deuling at de dot ibm dot com>
- Cc: GDB Discuss <gdb at sources dot redhat dot com>
- Date: Tue, 9 Jan 2007 08:43:43 -0500
- Subject: Re: Difference between infptrace and inf-ptrace
- References: <45A372C5.6020700@de.ibm.com>
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