From: Nathan Sidwell <nathan@codesourcery.com>
To: Mark Kettenis <kettenis@gnu.org>
Cc: gdb-patches@sources.redhat.com, paul@codesourcery.com
Subject: Re: [patch] Dwarf2 virtual frame pointer
Date: Sat, 12 Feb 2005 15:52:00 -0000 [thread overview]
Message-ID: <420DFEDC.90002@codesourcery.com> (raw)
In-Reply-To: <200502120312.j1C3CSid022971@copland.sibelius.xs4all.nl>
Mark Kettenis wrote:
> Almost certainly no. Replacing `struct frame *next_frame' with
> `CORE_ADDR pc' is moving backward instead of forward. Any functions
> that starts with legacy_ should not be used in generic code like the
> code in dwarf2-frame.c.
oh, ok.
> Can you explains what you're trying to accomplish?
>
> If you're trying to use the DWARF CFI for anything else than unwinding
> the stack, like finding out whether the location of local variables is
> relative to $sp or $fp then rethink your strategy. This is not what
> the DWARF CFI is for.
ok. Then how do I find out that information? The compiler (gcc 3.4) is
emitting DW_OP_fbreg location information for the local variables, should
it be emitting something else?
nathan
--
Nathan Sidwell :: http://www.codesourcery.com :: CodeSourcery LLC
nathan@codesourcery.com :: http://www.planetfall.pwp.blueyonder.co.uk
next prev parent reply other threads:[~2005-02-12 13:04 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-02-10 13:53 Nathan Sidwell
2005-02-12 13:04 ` Mark Kettenis
2005-02-12 15:52 ` Nathan Sidwell [this message]
2005-02-14 9:41 ` Daniel Jacobowitz
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=420DFEDC.90002@codesourcery.com \
--to=nathan@codesourcery.com \
--cc=gdb-patches@sources.redhat.com \
--cc=kettenis@gnu.org \
--cc=paul@codesourcery.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