Subject: Re: /proc needed for 'gdb -p'? (was: CVS commit: src/gnu)
To: Jason Thorpe <thorpej@shagadelic.org>
From: David Laight <david@l8s.co.uk>
List: tech-toolchain
Date: 02/18/2006 18:49:41
On Sat, Feb 18, 2006 at 08:07:11AM -0800, Jason Thorpe wrote:
> 
> On Feb 18, 2006, at 7:16 AM, Bernd Ernesti wrote:
> 
> >Does that mean you can't debug a process without having /proc?
> >Hmm, reading the mail archives seem that this only affects users which
> >don't supply the filename of that process.
> 
> FWIW, I am coming around to the idea that ptrace(2) should die a  
> horrible, horrible death and that /proc should be the blessed  
> interface for debuggers.  It sure would make some things easier,  
> including thread debugging (think about the enumeration of LWPs).

Can we kill the process reparenting that goes on as well, makes a nightmare
of the locking rules for the parent-child process lists.

	David

-- 
David Laight: david@l8s.co.uk