This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: Multi-thread debug doesn't work with me :(
- From: Daniel Jacobowitz <drow at false dot org>
- To: Matt HAMEAU <mhameau at yahoo dot fr>
- Cc: gdb at sourceware dot org
- Date: Tue, 29 Aug 2006 09:49:39 -0400
- Subject: Re: Multi-thread debug doesn't work with me :(
- References: <20060829134727.34334.qmail@web26115.mail.ukl.yahoo.com>
On Tue, Aug 29, 2006 at 01:47:27PM +0000, Matt HAMEAU wrote:
> 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
Please be more specific. What happens?
> - I "continue" the debug: the debugger crashes.
Ditto. We can only respond to precise bug reports.
> $ arm-linux-uclibc-gdb.exe --version
> GNU gdb 6.3
> Copyright 2004 Free Software Foundation, Inc.
You might want to try GDB 6.5. Also, have you set up a solib prefix?
--
Daniel Jacobowitz
CodeSourcery