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 17:23:00 -0000	[thread overview]
Message-ID: <3CAF9F8E.6030607@cygnus.com> (raw)
In-Reply-To: <Pine.LNX.4.44.0204061936130.28028-100000@dberlin.org>

> and
>> 
> 
>> > - the frame base address (for DW_OP_fbreg)
>> > 
>> > 
>> > Not possible.
>> > the frame base can be a location list.
>> > That's why it pulls it out of the frame function on the fly. 
> 
>> 
>> Something I've never understood.  Shouldn't frame_base be stored in 
>> frame->base as part of the initial frame creation.  Hence avoiding this 
>> recursion?
> 
> 
> Theoretically you could, but it's sort of pointless.
> You still end up doing the same lookup.
> It also hides the code, since the code to create frames is nowhere 
> near the dwarf2 reader.

I'm still missing something.  If dwarf2 info isn't used to compute 
frame->base (and frame->prev->pc) where are the values comming from?

Andrew


  reply	other threads:[~2002-04-07  1:23 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 [this message]
2002-04-06 18:08       ` Daniel Berlin
2002-04-06 18:24         ` Andrew Cagney

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=3CAF9F8E.6030607@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