This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
ptrace & threads question
- From: Paul Gilliam <pgilliam at us dot ibm dot com>
- To: gdb at sources dot redhat dot com
- Date: Mon, 12 Jul 2004 16:36:52 -0700
- Subject: ptrace & threads question
- Reply-to: pgilliam at us dot ibm dot com
Hi All,
'ptrace' is documented as acting on processes: it takes a PID as an argument.
So if we are in a thread environment, where do we get registers for a
particular thread?
What does the user area mean in a threads environment?
How is this different between NPTL and Linux threads?
-=# Paul #=-