This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: $_ and info breakpoint [PATCH]
On Tue, Jul 10, 2007 at 06:20:11AM +0300, Eli Zaretskii wrote:
> > 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.
Thanks. Nick, patch is OK for trunk; I suppose there will be a
corresponding update to the emacs mode? Or does it use 'server'
already?
--
Daniel Jacobowitz
CodeSourcery