From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3965 invoked by alias); 9 Feb 2007 22:38:43 -0000 Received: (qmail 3956 invoked by uid 22791); 9 Feb 2007 22:38:42 -0000 X-Spam-Check-By: sourceware.org Received: from viper.snap.net.nz (HELO viper.snap.net.nz) (202.37.101.8) by sourceware.org (qpsmtpd/0.31) with ESMTP; Fri, 09 Feb 2007 22:38:35 +0000 Received: from kahikatea.snap.net.nz (30.61.255.123.dynamic.snap.net.nz [123.255.61.30]) by viper.snap.net.nz (Postfix) with ESMTP id D89083D9E66; Sat, 10 Feb 2007 11:38:32 +1300 (NZDT) Received: by kahikatea.snap.net.nz (Postfix, from userid 500) id C09974F72D; Sat, 10 Feb 2007 11:38:31 +1300 (NZDT) From: Nick Roberts MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <17868.63461.957875.73196@kahikatea.snap.net.nz> Date: Fri, 09 Feb 2007 22:38:00 -0000 To: PoWah Wong Cc: gdb@sourceware.org Subject: Re: newbie question: debug a multiple processes server program In-Reply-To: <802891.67096.qm@web56314.mail.re3.yahoo.com> References: <802891.67096.qm@web56314.mail.re3.yahoo.com> X-Mailer: VM 7.19 under Emacs 22.0.93.9 X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2007-02/txt/msg00063.txt.bz2 > This is what I am think, please comment: Read the manual ? (Debugging programs with multiple processes). Use a recent GDB which has new features for handling forks. -- Nick http://www.inet.net.nz/~nickrob