From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10833 invoked by alias); 16 Apr 2007 19:38:15 -0000 Received: (qmail 10825 invoked by uid 22791); 16 Apr 2007 19:38:15 -0000 X-Spam-Check-By: sourceware.org Received: from romy.inter.net.il (HELO romy.inter.net.il) (213.8.233.24) by sourceware.org (qpsmtpd/0.31) with ESMTP; Mon, 16 Apr 2007 20:38:12 +0100 Received: from HOME-C4E4A596F7 (IGLD-83-130-249-125.inter.net.il [83.130.249.125]) by romy.inter.net.il (MOS 3.7.3-GA) with ESMTP id HPT32378 (AUTH halo1); Mon, 16 Apr 2007 22:37:59 +0300 (IDT) Date: Mon, 16 Apr 2007 19:38:00 -0000 Message-Id: From: Eli Zaretskii To: Daniel Jacobowitz CC: sebastien.leduc@st.com, gdb@sourceware.org In-reply-to: <20070416104755.GA24908@caradoc.them.org> (message from Daniel Jacobowitz on Mon, 16 Apr 2007 06:47:55 -0400) Subject: Re: user defined command Reply-to: Eli Zaretskii References: <46232233.2050004@st.com> <20070416104755.GA24908@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: 2007-04/txt/msg00105.txt.bz2 > 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.