Subject: Re: /proc needed for 'gdb -p'? (was: CVS commit: src/gnu)
To: None <tech-toolchain@NetBSD.org>
From: Jason Thorpe <thorpej@shagadelic.org>
List: tech-toolchain
Date: 02/18/2006 08:07:11
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).

-- thorpej