LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Enterprise (http://www.linuxquestions.org/questions/linux-enterprise-47/)
-   -   gdb attach detach - strange behaviour on RHEL 3.0 (http://www.linuxquestions.org/questions/linux-enterprise-47/gdb-attach-detach-strange-behaviour-on-rhel-3-0-a-342155/)

pankajtakawale 07-11-2005 10:12 AM

gdb attach detach - strange behaviour on RHEL 3.0
 
A thread in my process blocks (condWait) on a mutex indefinately because of bug. But When I attach this process (in blocked state) to gdb & detach it, blocked thread starts execution & exits successfully.
What would be the reason for this abrupt behaviour?
What does gdb detach do? which signals does it send?
Note : If i dont attach blocked process to gdb, thread blocks on that mutex indefinately due to bug.


All times are GMT -5. The time now is 07:36 PM.