Mirror of the gdb mailing list
 help / color / mirror / Atom feed
* Difference between infptrace and inf-ptrace
@ 2007-01-09 10:47 Markus Deuling
  2007-01-09 13:42 ` Mark Kettenis
  2007-01-09 13:43 ` Daniel Jacobowitz
  0 siblings, 2 replies; 7+ messages in thread
From: Markus Deuling @ 2007-01-09 10:47 UTC (permalink / raw)
  To: GDB Discuss

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.


Regards,
Markus

-- 
Markus Deuling
GNU Toolchain for Linux on Cell BE
deuling@de.ibm.com 


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Difference between infptrace and inf-ptrace
  2007-01-09 10:47 Difference between infptrace and inf-ptrace Markus Deuling
@ 2007-01-09 13:42 ` Mark Kettenis
  2007-01-09 13:43 ` Daniel Jacobowitz
  1 sibling, 0 replies; 7+ messages in thread
From: Mark Kettenis @ 2007-01-09 13:42 UTC (permalink / raw)
  To: deuling; +Cc: gdb

> Date: Tue, 09 Jan 2007 11:47:33 +0100
> From: Markus Deuling <deuling@de.ibm.com>
> 
> 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?

Yes, infptrace.c has to die.  Don't look at it, except if you want to
convert an existing configuration to inf-ptrace.c.  Unfortunately
we're not quite there yet :(.

Mark


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Difference between infptrace and inf-ptrace
  2007-01-09 10:47 Difference between infptrace and inf-ptrace Markus Deuling
  2007-01-09 13:42 ` Mark Kettenis
@ 2007-01-09 13:43 ` Daniel Jacobowitz
  2007-01-09 14:43   ` Markus Deuling
  1 sibling, 1 reply; 7+ messages in thread
From: Daniel Jacobowitz @ 2007-01-09 13:43 UTC (permalink / raw)
  To: Markus Deuling; +Cc: GDB Discuss

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


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Difference between infptrace and inf-ptrace
  2007-01-09 13:43 ` Daniel Jacobowitz
@ 2007-01-09 14:43   ` Markus Deuling
  2007-01-09 14:44     ` Daniel Jacobowitz
  0 siblings, 1 reply; 7+ messages in thread
From: Markus Deuling @ 2007-01-09 14:43 UTC (permalink / raw)
  To: Daniel Jacobowitz, GDB Discuss, mark.kettenis

Daniel Jacobowitz schrieb:
> 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.
> 

Thank you Mark and Daniel, I'll look at inf-ptrace then :-)

I think there are some more of these "construction areas". Is there somewhere a list of them?
What I have in mind is a kind of "project plan"? 

Maybe that would be an interesting point for the wiki for someone that has a good overview about the current work on gdb.


Regards,
Markus

-- 
Markus Deuling
GNU Toolchain for Linux on Cell BE
deuling@de.ibm.com 


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Difference between infptrace and inf-ptrace
  2007-01-09 14:43   ` Markus Deuling
@ 2007-01-09 14:44     ` Daniel Jacobowitz
  2007-01-09 16:03       ` Markus Deuling
  0 siblings, 1 reply; 7+ messages in thread
From: Daniel Jacobowitz @ 2007-01-09 14:44 UTC (permalink / raw)
  To: Markus Deuling; +Cc: GDB Discuss, mark.kettenis

On Tue, Jan 09, 2007 at 03:43:16PM +0100, Markus Deuling wrote:
> I think there are some more of these "construction areas". Is there 
> somewhere a list of them?
> What I have in mind is a kind of "project plan"? 

No, but if there were, the wiki would be the right place for them. 
There's a little bit on the wiki now, but not much.

-- 
Daniel Jacobowitz
CodeSourcery


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Difference between infptrace and inf-ptrace
  2007-01-09 14:44     ` Daniel Jacobowitz
@ 2007-01-09 16:03       ` Markus Deuling
  2007-01-09 16:04         ` Daniel Jacobowitz
  0 siblings, 1 reply; 7+ messages in thread
From: Markus Deuling @ 2007-01-09 16:03 UTC (permalink / raw)
  To: GDB Discuss, mark.kettenis, Daniel Jacobowitz

Daniel Jacobowitz schrieb:
> On Tue, Jan 09, 2007 at 03:43:16PM +0100, Markus Deuling wrote:
>> I think there are some more of these "construction areas". Is there 
>> somewhere a list of them?
>> What I have in mind is a kind of "project plan"? 
> 
> No, but if there were, the wiki would be the right place for them. 
> There's a little bit on the wiki now, but not much.
> 

I started a new page in the wiki and added the infptrace vs. inf-ptrace topic there.
The page is found here: http://sourceware.org/gdb/wiki/ProjectPlan

Maybe this can be the place for these "under construction" topics.


Regards,
Markus

-- 
Markus Deuling
GNU Toolchain for Linux on Cell BE
deuling@de.ibm.com 


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Difference between infptrace and inf-ptrace
  2007-01-09 16:03       ` Markus Deuling
@ 2007-01-09 16:04         ` Daniel Jacobowitz
  0 siblings, 0 replies; 7+ messages in thread
From: Daniel Jacobowitz @ 2007-01-09 16:04 UTC (permalink / raw)
  To: Markus Deuling; +Cc: GDB Discuss, mark.kettenis

On Tue, Jan 09, 2007 at 05:03:23PM +0100, Markus Deuling wrote:
> I started a new page in the wiki and added the infptrace vs. inf-ptrace 
> topic there.
> The page is found here: http://sourceware.org/gdb/wiki/ProjectPlan

Thanks!

-- 
Daniel Jacobowitz
CodeSourcery


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2007-01-09 16:04 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-01-09 10:47 Difference between infptrace and inf-ptrace Markus Deuling
2007-01-09 13:42 ` Mark Kettenis
2007-01-09 13:43 ` Daniel Jacobowitz
2007-01-09 14:43   ` Markus Deuling
2007-01-09 14:44     ` Daniel Jacobowitz
2007-01-09 16:03       ` Markus Deuling
2007-01-09 16:04         ` Daniel Jacobowitz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox