On Tuesday 19 April 2005 00:26, Pierre Patino wrote:
Stupid questions: What happens if you do "list main" ? How about "list myfunc" where myfunc is something you know you wrote? What does -DQT_NO_DEBUG do to the -g flag?
You're definitely onto something here. I can list main or myfunc. I can put breaks on it to. Thing is, when it stops at a break (say at myfunc), and I do 'next', it seems to be stepping into what looks like Qt event handling procedures instead. And it won't let me get back to it with frame (it says can't access that bit of memory). I haven't debugged Qt in gdb before (at work I have been spoiled by totalview), so I don't know if that's to be expected. I think I'll have to post my code here, or a simple example. I probably should test the debugging on a 32 bit box, just to check if this is Qt related instead of gdb having problems with the amd64. So it seems I can (partially) use gdb. On the other hand, that error (can't find ../sysdep/yadayada) is sufficient to stop DDD on its tracks. It would be nice to understand why it's happening. Anyway, thanks for your help! Adalberto