This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: $_ and info breakpoint [PATCH]
- From: Eli Zaretskii <eliz at gnu dot org>
- To: Daniel Jacobowitz <drow at false dot org>
- Cc: nickrob at snap dot net dot nz, gdb-patches at sourceware dot org
- Date: Tue, 10 Jul 2007 06:20:11 +0300
- 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> <20070710014312.GA9261@caradoc.them.org>
- Reply-to: Eli Zaretskii <eliz at gnu dot org>
> Date: Mon, 9 Jul 2007 21:43:12 -0400
> From: Daniel Jacobowitz <drow@false.org>
> Cc: gdb-patches@sourceware.org
>
> 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?
None here. I think it's a good idea.