From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14139 invoked by alias); 16 Apr 2007 10:48:01 -0000 Received: (qmail 14110 invoked by uid 22791); 16 Apr 2007 10:48:00 -0000 X-Spam-Check-By: sourceware.org Received: from return.false.org (HELO return.false.org) (66.207.162.98) by sourceware.org (qpsmtpd/0.31) with ESMTP; Mon, 16 Apr 2007 11:47:58 +0100 Received: from return.false.org (localhost [127.0.0.1]) by return.false.org (Postfix) with ESMTP id 1C6A64B267; Mon, 16 Apr 2007 05:47:57 -0500 (CDT) Received: from caradoc.them.org (dsl093-172-095.pit1.dsl.speakeasy.net [66.93.172.95]) by return.false.org (Postfix) with ESMTP id EF69A4B262; Mon, 16 Apr 2007 05:47:56 -0500 (CDT) Received: from drow by caradoc.them.org with local (Exim 4.63) (envelope-from ) id 1HdOkV-0006U2-9R; Mon, 16 Apr 2007 06:47:55 -0400 Date: Mon, 16 Apr 2007 10:48:00 -0000 From: Daniel Jacobowitz To: Sebastien LE DUC Cc: gdb@sourceware.org Subject: Re: user defined command Message-ID: <20070416104755.GA24908@caradoc.them.org> Mail-Followup-To: Sebastien LE DUC , gdb@sourceware.org References: <46232233.2050004@st.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <46232233.2050004@st.com> User-Agent: Mutt/1.5.15 (2007-04-09) 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/msg00100.txt.bz2 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. -- Daniel Jacobowitz CodeSourcery