Subject: Re: ptrace(2) + nathanw_sa LWPs
To: Giles Lean <>
From: Jason R Thorpe <>
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).

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.

Solaris does everything via its procfs.

        -- Jason R. Thorpe <>