Subject: Re: ptrace(2) + nathanw_sa LWPs
To: Giles Lean <giles@nemeton.com.au>
From: Jason R Thorpe <thorpej@wasabisystems.com>
List: tech-kern
Date: 12/07/2001 19:44:30
On Sat, Dec 08, 2001 at 02:23:13PM +1100, Giles Lean wrote:

 > Is it interesting to compare what other operating systems have done?
 > HP-UX introduced ttrace(2) to overcome the limitations of ptrace(2)
 > with multithreaded processes, and HP contributed changes to gdb to
 > enable it to use ttrace(2).
 > 
 > http://docs.hp.com//hpux/onlinedocs/B2355-90682/00/02/219-con.html

I'll take a look at this.

 > I don't know how Solaris supports debugging multithreaded processes
 > as its ptrace(2) manual page doesn't refer to threads at all.
 > 
 > http://docs.sun.com:80/ab2/coll.40.6/REFMAN2/@Ab2PageView/54414?Ab2Lang=C&Ab2Enc=iso-8859-1

Solaris does everything via its procfs.

-- 
        -- Jason R. Thorpe <thorpej@wasabisystems.com>