This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: fork debugging : back to parent.
Daniel Jacobowitz <drow@false.org> writes:
> On Mon, Aug 07, 2006 at 11:47:03PM +0200, Richard wrote:
>> set follow-fork-mode to both is not supported:
>
> Sorry, try turning off detach-on-fork. See "help set".
>
>> Sorry, if I'm missing something obvious. How owuld I browse "recent
>> features" in CVS?
>
> Take a look at the NEWS file.
>
> --
> Daniel Jacobowitz
> CodeSourcery
>
I tried setting detach-on-fork to off and follow-fork to "child" and it
all just froze. Possibly I'm misunderstanding its use?
Could you advise on its intended use and how it integrates with
follow-fork-mode or catch fork? I set follow to "child", detach to "off"
and then "info fork" reported no forks after the fork() call while in
the childs code.
"both" is now removed for "follow-fork"?