This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: user defined command
- From: Daniel Jacobowitz <drow at false dot org>
- To: Sebastien LE DUC <sebastien dot leduc at st dot com>
- Cc: gdb at sourceware dot org
- Date: Mon, 16 Apr 2007 06:47:55 -0400
- Subject: Re: user defined command
- References: <46232233.2050004@st.com>
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