This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: $_ and info breakpoint [PATCH]
- From: Daniel Jacobowitz <drow at false dot org>
- To: Nick Roberts <nickrob at snap dot net dot nz>
- Cc: gdb-patches at sourceware dot org
- Date: Mon, 9 Jul 2007 21:43:12 -0400
- Subject: Re: $_ and info breakpoint [PATCH]
- References: <18064.7905.924535.720690@kahikatea.snap.net.nz> <20070709115647.GC3095@caradoc.them.org> <18066.53564.134378.88590@kahikatea.snap.net.nz>
On Tue, Jul 10, 2007 at 12:22:20PM +1200, Nick Roberts wrote:
> 2007-07-10 Nick Roberts <nickrob@snap.net.nz>
>
> * breakpoint.c: Include "top.h".
> (breakpoint_1): Don't set convenience variable $_ if server prefix
> is used.
> (_initialize_breakpoint): Describe this behaviour in command help.
I didn't see your earlier suggestion, and in fact I didn't know about
the server command prefix at all. This seems fine to me; does anyone
else see a reason why we shouldn't do it?
--
Daniel Jacobowitz
CodeSourcery