From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31047 invoked by alias); 21 Nov 2008 22:29:18 -0000 Received: (qmail 31004 invoked by uid 22791); 21 Nov 2008 22:29:17 -0000 X-Spam-Check-By: sourceware.org Received: from rock.gnat.com (HELO rock.gnat.com) (205.232.38.15) by sourceware.org (qpsmtpd/0.31) with ESMTP; Fri, 21 Nov 2008 22:28:42 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by filtered-rock.gnat.com (Postfix) with ESMTP id 8116F2A965C; Fri, 21 Nov 2008 17:28:40 -0500 (EST) Received: from rock.gnat.com ([127.0.0.1]) by localhost (rock.gnat.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id XEZUEiilcEvw; Fri, 21 Nov 2008 17:28:40 -0500 (EST) Received: from joel.gnat.com (localhost.localdomain [127.0.0.1]) by rock.gnat.com (Postfix) with ESMTP id 6F2062A9657; Fri, 21 Nov 2008 17:28:38 -0500 (EST) Received: by joel.gnat.com (Postfix, from userid 1000) id D85CFE7ACD; Fri, 21 Nov 2008 14:28:35 -0800 (PST) Date: Fri, 21 Nov 2008 22:29:00 -0000 From: Joel Brobecker To: Paul Pluzhnikov Cc: Michael Snyder , Gaius Mulley , Sandeep222 , "gdb@sourceware.org" Subject: Re: How to store function-name and its return values while program runs Message-ID: <20081121222835.GA16751@adacore.com> References: <20618721.post@talk.nabble.com> <87skpl1gy7.fsf@j228-gm.comp.glam.ac.uk> <4927062C.4020806@vmware.com> <8ac60eac0811211410s2196e9a1g28c824850b222bf6@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <8ac60eac0811211410s2196e9a1g28c824850b222bf6@mail.gmail.com> User-Agent: Mutt/1.4.2.2i 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-11/txt/msg00138.txt.bz2 > I wished many times that above worked, but it doesn't: 'finish' > appears to interrupt flow of script, and subsequent commands are > never executed: [...] > Is this a bug? It actually isn't. The manual tries to explain why: > Any other commands in the command list, after a command that resumes > execution, are ignored. This is because any time you resume execution > (even with a simple next or step), you may encounter another > breakpoint--which could have its own command list, leading to > ambiguities about which list to execute. Most of the users at AdaCore view this as a limitation, but I haven't really had the energy to look at improving this. -- Joel