This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: gdb continues when I want "next"
> Breakpoint 1, CPTLinearGraphic::CalculateLinLines (this=0x9251de0)
> at
> /home/gru/projects/vxp/branches/branch-0-2-10-X/Dafit_Code/drawdevices/CPTLinearGraphic.cpp:1640
> (gdb) n
> (gdb) n
> Detaching after fork from child process 29873.
> [Thread -1863816272 (LWP 29869) exited]
>
> Program received signal SIGTRAP, Trace/breakpoint trap.
> [Switching to Thread -1863816272 (LWP 29869)]
> 0xb7446891 in __nptl_death_event () from
> /lib/tls/i686/cmov/libpthread.so.0
Hang on -- are we forking a multi-threaded program?
Can't really do that, you know... or at least, it's
likely to be quite unpredictable unles the *only* thing
the fork-child does is call exec.