From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4971 invoked by alias); 29 Aug 2006 13:47:35 -0000 Received: (qmail 4953 invoked by uid 22791); 29 Aug 2006 13:47:34 -0000 X-Spam-Check-By: sourceware.org Received: from web26115.mail.ukl.yahoo.com (HELO web26115.mail.ukl.yahoo.com) (217.146.177.42) by sourceware.org (qpsmtpd/0.31) with SMTP; Tue, 29 Aug 2006 13:47:29 +0000 Received: (qmail 34336 invoked by uid 60001); 29 Aug 2006 13:47:27 -0000 Message-ID: <20060829134727.34334.qmail@web26115.mail.ukl.yahoo.com> Received: from [82.239.117.119] by web26115.mail.ukl.yahoo.com via HTTP; Tue, 29 Aug 2006 13:47:27 GMT Date: Tue, 29 Aug 2006 13:47:00 -0000 From: Matt HAMEAU Reply-To: Matt HAMEAU Subject: Multi-thread debug doesn't work with me :( To: gdb@sourceware.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2006-08/txt/msg00217.txt.bz2 Hello, I'm using gdb on windows to debug an application on an ARM linux platform, remotely, via serial link. I manage to debug simple programs with success (step, step into, break, backtrace etc...), without any problems. But, when I try to debug a process that create multiple pthreads, I cannot get into those threads and the debugger crashes: - I connect to the board - I set up a breakpoint in a function that will be executed by one of the thread (created by pthread_create) - I launch the remote debug - when the thread reaches the breakpoint, the debugger stops - debugger is lost, it is impossible to have any information on the current line of the code or on any variables - I "continue" the debug: the debugger crashes. I did search on mailling list about this problem, but I could not find any help. The only messages I found cames from the year 2000 - 2003, I guess gdb did change a lot now. If somebody have an idea, please... I don't know what to do. $ arm-linux-uclibc-gdb.exe --version GNU gdb 6.3 Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "--host=i386-pc-linux-gnu --target=arm-linux-uclibc". Thank you very much by advance Best regards Matthieu HAMEAU