Attaching to multithreaded deamon, ...
Rok Papez
rok.papez@kiss.uni-lj.si
Sat Nov 6 16:32:00 GMT 1999
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.
More information about the Gdb
mailing list