Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 4 Jan 2001 02:40:58 +0600 (NS)
From:      Max Khon <fjoe@iclub.nsu.ru>
To:        Thierry <tjmsdn@ifrance.com>
Cc:        freebsd-hackers@FreeBSD.ORG
Subject:   Re: gdb question
Message-ID:  <Pine.BSF.4.21.0101040240080.11791-100000@iclub.nsu.ru>
In-Reply-To: <01010312453500.00430@FreeBSD.eicon.com>

next in thread | previous in thread | raw e-mail | index | archive | help
hi, there!

On Wed, 3 Jan 2001, Thierry wrote:

> I use the "fork" function to call another function "foo( )" 
> 
> In gdb, I would like to put a breakpoint in this function "foo( )", When I
> execute, the function "foo( )" is stopped, but gdb doesn't give me the hand.
> 
> How I can put a breakpoint in a function call by a "fork" system ?

set follow-fork-mode

/fjoe



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0101040240080.11791-100000>