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]

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


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



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