From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11349 invoked by alias); 9 Apr 2010 13:54:34 -0000 Received: (qmail 11335 invoked by uid 22791); 9 Apr 2010 13:54:33 -0000 X-SWARE-Spam-Status: No, hits=-1.8 required=5.0 tests=BAYES_00,TW_OC,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mail.alyotech.fr (HELO mail.alyotech.fr) (86.66.40.180) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 09 Apr 2010 13:54:27 +0000 Received: from AVE02.alyotech.fr (192.168.177.125) by mail.alyotech.fr (192.168.177.80) with Microsoft SMTP Server (TLS) id 8.2.247.2; Fri, 9 Apr 2010 15:48:24 +0200 Received: from ARE01.alyotech.fr (192.168.35.102) by AVE02.alyotech.fr (192.168.7.2) with Microsoft SMTP Server (TLS) id 8.2.247.2; Fri, 9 Apr 2010 15:54:24 +0200 Received: from ARE01.alyotech.fr ([192.168.35.102]) by ARE01.alyotech.fr ([192.168.35.102]) with mapi; Fri, 9 Apr 2010 15:54:23 +0200 From: PILLON Julien To: Daniel Jacobowitz CC: Paul Koning , "gdb@sourceware.org" Date: Fri, 09 Apr 2010 13:54:00 -0000 Subject: RE : RE : User level threads debugging with GDB Message-ID: <06A7AD4E92172446ADDEB44F8A5D5C101CA8246BF2@ARE01.alyotech.fr> References: <06A7AD4E92172446ADDEB44F8A5D5C101CA8246BEE@ARE01.alyotech.fr> <06A7AD4E92172446ADDEB44F8A5D5C101CA8246BF0@ARE01.alyotech.fr>,<20100409134324.GA16597@caradoc.them.org> In-Reply-To: <20100409134324.GA16597@caradoc.them.org> Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2010-04/txt/msg00035.txt.bz2 Ok, I thought it was really full used... So if I go on implementing libthread_db, I'll have to modify GDB also... I think one day (...) I'll manage to understand the deeps of GDB... ^^ Thanks Julien ________________________________________ De : Daniel Jacobowitz [dan@codesourcery.com] Date d'envoi : vendredi 9 avril 2010 15:43 =C0 : PILLON Julien Cc : Paul Koning; gdb@sourceware.org Objet : Re: RE : User level threads debugging with GDB On Fri, Apr 09, 2010 at 03:04:28PM +0200, PILLON Julien wrote: > Thank you for your answer. > The fact is that I don't want to make big modification to GDB... So I thi= nk I'll go on implementing a libthread_db (with this method, it will be co= mpatible with future (and previous ?) versions of GDB ) This is not likely to work. Linux thread debugging uses a little bit of the libthread_db but also knows a great deal about native OS threads. There is also some libthread_db code for Solaris, but it's tied together with procfs support. There is no generic libthread_db layer. -- Daniel Jacobowitz CodeSourcery