Project Home
Project Home
Source Code
Source Code
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - gdb disconnects from Armv7 target (AM335) on break point hit: (2 Items)
   
gdb disconnects from Armv7 target (AM335) on break point hit  
Hi,

I am trying to debug an application that uses a thread pool.  As long as the application is single threaded, debugging 
is great.  Also, just noticed that if I use the flag POOL_FLAG_USE_SELF instead of POOL_FLAG_EXIT_SELF I also get good 
results.  The stack doesn't show up when a break point is hit, but at least I can single step.  Eventually the stack 
trace as well as the threads that are running show up as well, but not at the start.

So it has something to do with ripping the initial startup thread away from the debugger.  It clearly has issues with 
that kind of behavior on my part.

BTW: I am using gdb version: GNU gdb (GDB) 7.6.1 qnx (rev. 863)
The target is a QNX 6.5 sp1 Arm v7

Anyway, we are moving forward again, but wanted to toss this in the mix...

Thanks
Kevin
Re: gdb disconnects from Armv7 target (AM335) on break point hit  
Sorry kind of late to reply but this is gdb patch for stack issues (if using with IDE)

http://community.qnx.com/sf/frs/do/viewRelease/projects.toolchain/frs.gdb.gdb_7_6_r942_sdp6_6_0