This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Multi-thread debug doesn't work with me :(


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]