Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Andrew Cagney <ac131313@cygnus.com>
To: Daniel Berlin <dan@dberlin.org>
Cc: gdb-patches@sources.redhat.com
Subject: Re: [WIP]: LOC_COMPUTED and LOC_COMPUTED_ARG
Date: Sat, 06 Apr 2002 18:24:00 -0000	[thread overview]
Message-ID: <3CAFADDF.4030607@cygnus.com> (raw)
In-Reply-To: <Pine.LNX.4.44.0204062103440.28166-100000@dberlin.org>

> 
> I'm confused now.
> I grepped for frame->base, and find no occurrences of it.

Try frame->frame  $frame.base is the variable I'm adding that gives 
access to the corresponding value.

> Anyway, DW_OP_fbreg has a special meaning.
> It specifically means "Use the value you get from evaluating the 
> DW_AT_frame_base attribute of the current function".  So that's what we do.  
> Even more specifically, "The DW_OP_fbreg operation provides a signed 
> LEB128 offset from the address specified by the location description in 
> the DW_AT_frame_base attribute of the current function."

Yes, and as far as I can tell the value of DW_AT_frame_base (3.3.5?) 
should have previously been computed as frame->frame.

> I'm just doing what the spec says, nothing more, nothing less.
> :)

I'm trying to save work :-)

Andrew


      reply	other threads:[~2002-04-07  2:24 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-03-26  8:02 Daniel Berlin
2002-04-06 16:34 ` Andrew Cagney
2002-04-06 16:41   ` Daniel Berlin
2002-04-06 17:23     ` Andrew Cagney
2002-04-06 18:08       ` Daniel Berlin
2002-04-06 18:24         ` Andrew Cagney [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=3CAFADDF.4030607@cygnus.com \
    --to=ac131313@cygnus.com \
    --cc=dan@dberlin.org \
    --cc=gdb-patches@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