From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5198 invoked by alias); 6 Jun 2009 08:45:40 -0000 Received: (qmail 5189 invoked by uid 22791); 6 Jun 2009 08:45:39 -0000 X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=AWL,BAYES_00,J_CHICKENPOX_64,SPF_PASS X-Spam-Check-By: sourceware.org Received: from mail-out2.netspace.net.au (HELO mail.netspace.net.au) (203.10.110.72) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sat, 06 Jun 2009 08:45:32 +0000 Received: from localhost (localhost [127.0.0.1]) by localhost.netspace.net.au (Postfix) with ESMTP id B7C42C9575 for ; Sat, 6 Jun 2009 18:45:27 +1000 (EST) Received: from mail.netspace.net.au ([127.0.0.1]) by localhost (mail-out2.netspace.net.au [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id IOQ8Q64-xgw7 for ; Sat, 6 Jun 2009 18:45:27 +1000 (EST) Received: from [192.168.0.10] (unknown [220.253.2.235]) by mail.netspace.net.au (Postfix) with ESMTPA id 35E6FC953D for ; Sat, 6 Jun 2009 18:45:26 +1000 (EST) Message-ID: <4A2A2CA8.9040300@netspace.net.au> Date: Sat, 06 Jun 2009 08:45:00 -0000 From: Russell Shaw User-Agent: Mozilla-Thunderbird 2.0.0.19 (X11/20090103) MIME-Version: 1.0 To: gdb@sourceware.org Subject: Fork/exec 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/msg00060.txt.bz2 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?