This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
User level threads debugging with GDB
- From: PILLON Julien <julien dot pillon at alyotech dot fr>
- To: "gdb at sourceware dot org" <gdb at sourceware dot org>
- Date: Fri, 9 Apr 2010 10:12:39 +0200
- Subject: User level threads debugging with GDB
Hi,
I would like to know the right way to do some user-level threads debugging with GDB and I have a few questions :
First, the main work will be within the libthread_db (especially in the td_ta_new function I guess) but what else must be modified and what can be left as is ?
Next, how should I implement the stack printing ?
Is the attach mode altered with this kind of modifications ? And if it is, where are the sources to modify ?
regards
Julien