From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 811 invoked by alias); 6 Jun 2009 14:17:51 -0000 Received: (qmail 803 invoked by uid 22791); 6 Jun 2009 14:17:50 -0000 X-SWARE-Spam-Status: No, hits=-0.6 required=5.0 tests=AWL,BAYES_50,J_CHICKENPOX_64,SPF_PASS X-Spam-Check-By: sourceware.org Received: from mail-out4.netspace.net.au (HELO mail.netspace.net.au) (203.10.110.77) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sat, 06 Jun 2009 14:17:44 +0000 Received: from [192.168.0.10] (unknown [220.253.2.235]) by mail.netspace.net.au (Postfix) with ESMTP id 7C13037AC76 for ; Sun, 7 Jun 2009 00:17:47 +1000 (EST) Message-ID: <4A2A7A84.5050202@netspace.net.au> Date: Sat, 06 Jun 2009 14:17:00 -0000 From: Russell Shaw User-Agent: Mozilla-Thunderbird 2.0.0.19 (X11/20090103) MIME-Version: 1.0 To: gdb@sourceware.org Subject: Re: Fork/exec References: <4A2A2CA8.9040300@netspace.net.au> In-Reply-To: <4A2A2CA8.9040300@netspace.net.au> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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: 2009-06/txt/msg00062.txt.bz2 Russell Shaw wrote: > Hi, > In ddd, i have: > > follow-fork-mode child > detach-on-fork on > > > In some C code, i do: > > execlp(path, path, (char *)NULL) > > > but the new program doesn't appear in the ddd window (on debian Xorg). > > How do i do that? Found it in 4.10 of manual.