This is the mail archive of the gdb@sourceware.cygnus.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Attaching to multithreaded deamon, ...


Hi!

I have a Linux RH 6.0 system with
gdb-4.17.0.11-6
and DDD 3.16

I'm trying to debug a multithreaded deamon, so I've added a loop
while(1) {
 sleep(1);
}
to the sources and tried attaching to it.
Up to that point everything is OK. I place the breakpoint outside the loop, let
the deamon exit sleep() and then I move the execution point outside the loop.
And then it happens.....
gdb starts to behave weird, it looses its context and 

-- 
best regards,
Rok Papez.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]