|
From: | Kunkee, Steve |
Subject: | ddd/gdb and X-Windows |
Date: | Wed, 9 Aug 2006 17:06:34 -0500 |
I have encountered a problem in using ddd/gdb and X-Windows. I am using Hummingbird 10 Exceed on XP Pro SP2. Exceed is in ‘passive’ mode – it is just an X server, with X clients created by its client wizard. I run my application from one of the XTerm windows thus created. The client machine is running Linux 2.6.5-7.191-smp. Gdb is 6.3 and ddd is 3.3.8. The problem is with the ‘Next’ command. ‘Cont’ seems to work OK. As I am stepping through my application, when I use ‘Next’ to step through a call to a function that updates a window, the whole X server hangs. None of the X clients will update, refresh, raise, or otherwise respond. (If I set a breakpoint just beyond such a call and use ‘Cont’, it goes through OK). It looks like there is some kind of deadlock on some X resource between the application and ddd. The difference in how X resources are handled between ‘Next’ and ‘Cont’ should indicate what the problem is. (Sorry, I don’t know what the application and ddd are waiting for. I can get to the client machine through telnet from another box, so if there is a way to tell what is going on, I can provide more information.) Steve
|
[Prev in Thread] | Current Thread | [Next in Thread] |