Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Vladimir Prus <ghost@cs.msu.su>
To: gdb@sources.redhat.com
Subject: Re: info frame
Date: Mon, 17 Apr 2006 08:41:00 -0000	[thread overview]
Message-ID: <e1vglb$g2q$1@sea.gmane.org> (raw)
In-Reply-To: <ubqv0zn6s.fsf@gnu.org>

Eli Zaretskii wrote:

>> Date: Sun, 16 Apr 2006 21:33:43 -0400
>> From: Daniel Jacobowitz <drow@false.org>
>> Cc: Mark Kettenis <mark.kettenis@xs4all.nl>, gdb@sources.redhat.com
>> 
>> > >>      553^done,stack=[frame=
>> > >>      {level="0",addr="0x00003db0",fp="0xbffff2c0",......
>> > 
>> > 0xbffff2c0 should not be the value of $fp but the value of "frame
>> > at..." in 'info frame`?
>> 
>> In fact, it's like that it will be the "frame at" address.
> 
> Daniel, I cannot parse this sentence, and consequently I cannot figure
> out what are you saying in general.
> 
>> But I don't
>> think it would be wise to architect that into the interface; I think I
>> explained why earlier, but if not, it's because this is a touchy
>> internal interface for GDB.  If you want to display it to the user, you
>> might want something different - either explicitly the $sp, or
>> explictly the architectural $fp register, or explicitly the call frame
>> address.  If you want to use it in a frontend, then all we should offer
>> is an opaque ID for equality testing, IMHO.
> 
> Are you saying that the "frame at ..." part in the CLI output is
> meaningless for users?  If so, why do we show it at all?

Well, "info frame" is documented to print absolutely all information about a
frame. And frame base address is part of "all information".

I would not want that field to go away, at least not until frame id is
exposed via some other command.

- Volodya



  reply	other threads:[~2006-04-17  7:38 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-04-17  0:37 Nick Roberts
2006-04-17  1:33 ` Mark Kettenis
2006-04-17  5:54   ` Nick Roberts
2006-04-17  5:57     ` Daniel Jacobowitz
2006-04-17  6:37       ` Nick Roberts
2006-04-17  7:38       ` Eli Zaretskii
2006-04-17  8:41         ` Vladimir Prus [this message]
2006-04-17 14:01         ` Daniel Jacobowitz
2006-04-18  8:40           ` Eli Zaretskii
2006-04-17  7:35   ` Eli Zaretskii
2006-04-17  9:05     ` Mark Kettenis
2006-04-17 11:21       ` Eli Zaretskii
2006-04-17 12:16         ` Mark Kettenis

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='e1vglb$g2q$1@sea.gmane.org' \
    --to=ghost@cs.msu.su \
    --cc=gdb@sources.redhat.com \
    /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