From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7060 invoked by alias); 17 Apr 2007 08:31:49 -0000 Received: (qmail 7048 invoked by uid 22791); 17 Apr 2007 08:31:48 -0000 X-Spam-Check-By: sourceware.org Received: from lon-del-02.spheriq.net (HELO lon-del-02.spheriq.net) (195.46.50.98) by sourceware.org (qpsmtpd/0.31) with ESMTP; Tue, 17 Apr 2007 09:31:43 +0100 Received: from lon-out-02.spheriq.net ([195.46.50.130]) by lon-del-02.spheriq.net with ESMTP id l3H8WP9g012975 for ; Tue, 17 Apr 2007 09:32:25 +0100 Received: from lon-cus-01.spheriq.net (lon-cus-01.spheriq.net [195.46.50.37]) by lon-out-02.spheriq.net with ESMTP id l3H8VZoe004767 for ; Tue, 17 Apr 2007 08:31:39 GMT Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by lon-cus-01.spheriq.net with ESMTP id l3H8VWO0003069 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=OK); Tue, 17 Apr 2007 08:31:34 GMT Received: from zeta.dmz-eu.st.com (ns2.st.com [164.129.230.9]) by beta.dmz-eu.st.com (STMicroelectronics) with ESMTP id A3B36DA5B; Tue, 17 Apr 2007 08:31:08 +0000 (GMT) Received: from mail1.cro.st.com (mail1.cro.st.com [164.129.40.131]) by zeta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 5D791472EA; Tue, 17 Apr 2007 08:31:08 +0000 (GMT) Received: from [164.129.44.95] (crx595.cro.st.com [164.129.44.95]) by mail1.cro.st.com (MOS 3.7.5a-GA) with ESMTP id CKG27115 (AUTH "denis pilat"); Tue, 17 Apr 2007 10:31:07 +0200 (CEST) Message-ID: <462485CA.2000805@st.com> Date: Tue, 17 Apr 2007 08:31:00 -0000 From: Denis PILAT User-Agent: Thunderbird 1.5.0.10 (X11/20070221) MIME-Version: 1.0 To: Eli Zaretskii Cc: Daniel Jacobowitz , sebastien.leduc@st.com, gdb@sourceware.org Subject: Re: user defined command References: <46232233.2050004@st.com> <20070416104755.GA24908@caradoc.them.org> In-Reply-To: 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: 2007-04/txt/msg00108.txt.bz2 Eli Zaretskii wrote: >> Date: Mon, 16 Apr 2007 06:47:55 -0400 >> From: Daniel Jacobowitz >> Cc: gdb@sourceware.org >> >> On Mon, Apr 16, 2007 at 09:13:55AM +0200, Sebastien LE DUC wrote: >> >>> The problem is that gdb takes the first "end" as the end of the definition of >>> the command instead of the end of the commands associated to the breakpoint. >>> so I get an error for the second "end" >>> >>> Anybody knows how I can achieve what I want? >>> >> Please try using a CVS snapshot of GDB. I believe this has been >> fixed. >> > > It should be fixed yes. If not, please holler. > > It has been fixed a few months ago, after 6.6 has been released. Denis