From: Daniel Jacobowitz <drow@false.org>
To: gdb@sourceware.org
Subject: Re: $_ and info breakpoint
Date: Mon, 09 Jul 2007 11:56:00 -0000 [thread overview]
Message-ID: <20070709115647.GC3095@caradoc.them.org> (raw)
In-Reply-To: <18064.7905.924535.720690@kahikatea.snap.net.nz>
On Sun, Jul 08, 2007 at 11:16:49AM +1200, Nick Roberts wrote:
> The convenience variable `$_' and the default
> examining-address for the `x' command are set to the address of
> the last breakpoint listed
I didn't know this was there, but if it's a documented feature, we
should probably leave it be. But it's not documented for -break-list
and I can't see any reason why it should be.
> 1) That "info breakpoint" doesn't set $_. At least -break-list shouldn't do
> this.
Is changing -break-list enough to fix your problem? If so, I
recommend that; either by separating -break-list and info break into
different functions, or by the old hack of ui_out_is_mi_like_p.
--
Daniel Jacobowitz
CodeSourcery
prev parent reply other threads:[~2007-07-09 11:56 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-07-07 23:17 Nick Roberts
2007-07-09 11:56 ` Daniel Jacobowitz [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20070709115647.GC3095@caradoc.them.org \
--to=drow@false.org \
--cc=gdb@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox