From: Daniel Jacobowitz <drow@mvista.com>
To: Mark Kettenis <kettenis@chello.nl>
Cc: Andrew Cagney <ac131313@redhat.com>, gdb@sources.redhat.com
Subject: Re: useful `info address'?
Date: Sun, 01 Jun 2003 20:29:00 -0000 [thread overview]
Message-ID: <20030601202939.GA12865@nevyn.them.org> (raw)
In-Reply-To: <86he7acepf.fsf@elgar.kettenis.dyndns.org>
On Sun, Jun 01, 2003 at 11:46:52AM +0200, Mark Kettenis wrote:
> Andrew Cagney <ac131313@redhat.com> writes:
>
> > Um,
> >
> > Having only just learn't of `info address', I'm finding that it isn't
> > very useful. Sigh:
> >
> > (gdb) info address b
> > Symbol "b" is a variable with complex or multiple locations (DWARF2).
>
> This is progress :-(. Abviously "info address" should try to evaluate
> the location expression.
Yes, precisely. The message was deemed more useful than
incorrekt/incomplet information. Just need to hook in either a
pretty-printer or location expression dumper.
I'm waiting until after DW_OP_piece to do this, so that we'll be able
to say something like:
"b" is a variable with multiple locations:
4 bytes at 0x10002030
4 bytes in $r13
8 bytes in $f12
--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer
prev parent reply other threads:[~2003-06-01 20:29 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-05-31 21:52 Andrew Cagney
2003-06-01 9:47 ` Mark Kettenis
2003-06-01 20:29 ` 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=20030601202939.GA12865@nevyn.them.org \
--to=drow@mvista.com \
--cc=ac131313@redhat.com \
--cc=gdb@sources.redhat.com \
--cc=kettenis@chello.nl \
/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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).