Project Home
Project Home
Source Code
Source Code
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
BroadcastCommunity.qnx.com will be offline from May 31 6:00pm until June 2 12:00AM for upcoming system upgrades. For more information please go to https://community.qnx.com/sf/discussion/do/listPosts/projects.bazaar/discussion.bazaar.topc28418
Forum Topic - Debugging MultiThread application via GDB: Page 1 of 8 (8 Items)
   
Debugging MultiThread application via GDB  
Hello,
I use GNU gdb 6.8 qnx-nto (rev. 347) from 6.4.1 Windows Host.
GDB was configured as "--host=i386-mingw32msvc --target=arm-unknown-nto-qnx6.4.0".
I need to debug at least 2 threads independently. It means I want to stop thread 1 and step thread 2, then stop thread 2
, switch to thread 1 and step it. From gdb manual (http://sourceware.org/gdb/current/onlinedocs/gdb_6.html#SEC45) I've 
read that it could be posible by non-stop mode. It seems above mentioned gdb does not support that mode.
Could you tell me please, how to debug multithreaded application?