Mirror of the gdb mailing list
 help / color / mirror / Atom feed
* Multi-thread debug doesn't work with me :(
@ 2006-08-29 13:47 Matt HAMEAU
  2006-08-29 13:49 ` Daniel Jacobowitz
  0 siblings, 1 reply; 3+ messages in thread
From: Matt HAMEAU @ 2006-08-29 13:47 UTC (permalink / raw)
  To: gdb

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



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2006-08-29 16:47 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-08-29 13:47 Multi-thread debug doesn't work with me :( Matt HAMEAU
2006-08-29 13:49 ` Daniel Jacobowitz
2006-08-29 16:47   ` Re : " Matt HAMEAU

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox