From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30880 invoked by alias); 1 Jul 2008 22:16:53 -0000 Received: (qmail 30865 invoked by uid 22791); 1 Jul 2008 22:16:52 -0000 X-Spam-Check-By: sourceware.org Received: from py-out-1112.google.com (HELO py-out-1112.google.com) (64.233.166.183) by sourceware.org (qpsmtpd/0.31) with ESMTP; Tue, 01 Jul 2008 22:16:34 +0000 Received: by py-out-1112.google.com with SMTP id a77so82887pyh.33 for ; Tue, 01 Jul 2008 15:16:32 -0700 (PDT) Received: by 10.142.125.9 with SMTP id x9mr2710947wfc.89.1214950591448; Tue, 01 Jul 2008 15:16:31 -0700 (PDT) Received: by 10.142.135.12 with HTTP; Tue, 1 Jul 2008 15:16:31 -0700 (PDT) Message-ID: <705543260807011516t7303e81bk4685e47146a28075@mail.gmail.com> Date: Tue, 01 Jul 2008 22:16:00 -0000 From: "Justin Ferguson" To: "Justin Ferguson" , gdb@sourceware.org Subject: Re: following execve() In-Reply-To: <20080701124219.GA26329@caradoc.them.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <705543260806302140t1bc8c568wea5175b9cc728e53@mail.gmail.com> <20080701124219.GA26329@caradoc.them.org> 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: 2008-07/txt/msg00007.txt.bz2 Hi, gdb 6.7.1 on x86_64 linux, it works fine so long as I dont try to break anywhere in the new process. The hang is something to do with signals as a sigsegv should be getting delivered thats not, I'm not incredibly concerned about that, but I'd sure like to be able to break in the new process. On Tue, Jul 1, 2008 at 5:42 AM, Daniel Jacobowitz wrote: > On Tue, Jul 01, 2008 at 04:40:54AM +0000, Justin Ferguson wrote: >> Hi, >> >> What is the suggested method for following an execve() in an >> application? > > On what platform, with what version of GDB? > > It should happen automatically with current versions of GDB on > GNU/Linux. I believe HP/UX also. > > -- > Daniel Jacobowitz > CodeSourcery >