From: Ulrich Weigand <uweigand@de.ibm.com>
To: jimb@red-bean.com (Jim Blandy)
Cc: uweigand@de.ibm.com (Ulrich Weigand),
brobecker@adacore.com (Joel Brobecker),
gdb@sourceware.org
Subject: Re: Prologue analysis interface
Date: Thu, 24 Nov 2005 17:18:00 -0000 [thread overview]
Message-ID: <200511241020.jAOAKUpQ015796@53v30g15.boeblingen.de.ibm.com> (raw)
In-Reply-To: <8f2776cb0511232221v6b54dee4i22d7dbb1f587b4bf@mail.gmail.com> from "Jim Blandy" at Nov 23, 2005 10:21:53 PM
Jim Blandy wrote:
> On 11/23/05, Ulrich Weigand <uweigand@de.ibm.com> wrote:
> > Just one comment on this: the CFA is not necessarily the original SP
> > (on s390 we have a constant offset). We'd have to leave it to platform
> > code to actually determine the CFA itself.
>
> Why does your CFA need to be an offset from the original SP? Aside
> from some more code needing to add an offset itself, what would break?
Well, as CFA is just convention, it does *need* an offset as such.
However, fact is that this is how CFA is currently registered in
DWARF-2 CFI generated by GCC (due to an historical accident ...).
Changing this is difficult: if you were to mix object files built with
different CFA base locations, ordering of CFA values along the stack
frame chain would no longer be guaranteed. (The same would hold if
GDB internally used different CFA conventions for DWARF-2 detected
frames and prolog-parser detected frames ...)
Bye,
Ulrich
--
Dr. Ulrich Weigand
Linux on zSeries Development
Ulrich.Weigand@de.ibm.com
next prev parent reply other threads:[~2005-11-24 10:21 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-11-22 19:30 Jim Blandy
2005-11-22 19:44 ` Daniel Jacobowitz
2005-11-23 0:20 ` Jim Blandy
2005-11-23 2:14 ` Daniel Jacobowitz
2005-11-23 2:52 ` Joel Brobecker
2005-11-23 3:52 ` Jim Blandy
2005-11-23 16:56 ` Ulrich Weigand
2005-11-23 18:37 ` Joel Brobecker
2005-11-24 6:21 ` Jim Blandy
2005-11-24 10:21 ` Jim Blandy
2005-11-24 17:18 ` Ulrich Weigand [this message]
2005-11-25 3:06 ` Jim Blandy
2005-11-23 3:14 ` Jim Blandy
2005-11-23 6:18 ` Daniel Jacobowitz
2005-11-23 14:54 ` Ulrich Weigand
2006-01-27 17:11 ` Daniel Jacobowitz
2006-01-27 18:25 ` Jim Blandy
2006-01-28 13:40 ` Jim Blandy
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=200511241020.jAOAKUpQ015796@53v30g15.boeblingen.de.ibm.com \
--to=uweigand@de.ibm.com \
--cc=brobecker@adacore.com \
--cc=gdb@sourceware.org \
--cc=jimb@red-bean.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