This is the mail archive of the
gdb@sourceware.cygnus.com
mailing list for the GDB project.
Attaching to multithreaded deamon, ...
- To: gdb at sourceware dot cygnus dot com
- Subject: Attaching to multithreaded deamon, ...
- From: Rok Papez <rok dot papez at kiss dot uni-lj dot si>
- Date: Sun, 7 Nov 1999 01:24:10 +0100
- Reply-To: rok dot papez at kiss dot uni-lj dot si
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.