From owner-freebsd-hackers Wed Jan 3 12:41:14 2001 From owner-freebsd-hackers@FreeBSD.ORG Wed Jan 3 12:41:12 2001 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from iclub.nsu.ru (iclub.nsu.ru [193.124.222.66]) by hub.freebsd.org (Postfix) with ESMTP id 7E83937B400 for ; Wed, 3 Jan 2001 12:41:08 -0800 (PST) Received: from localhost (fjoe@localhost) by iclub.nsu.ru (8.11.1/8.11.1) with ESMTP id f03Kexi11900; Thu, 4 Jan 2001 02:40:59 +0600 (NS) (envelope-from fjoe@iclub.nsu.ru) Date: Thu, 4 Jan 2001 02:40:58 +0600 (NS) From: Max Khon To: Thierry Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: gdb question In-Reply-To: <01010312453500.00430@FreeBSD.eicon.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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