From: Roland Egger <egger@tarantel.rz.fh-muenchen.de>
To: Jafa <jafa@silicondust.com>
Cc: gdb@sources.redhat.com
Subject: Re: recent changes to frame pointer handling on trunk?
Date: Wed, 04 Dec 2002 02:22:00 -0000 [thread overview]
Message-ID: <20021204112439.A14984@tarantel.rz.fh-muenchen.de> (raw)
In-Reply-To: <039901c29b42$78f38fd0$f601a8c0@nkelseyxp>
Hi,
On Tue, Dec 03, 2002 at 07:08:51PM -0800, Jafa wrote:
> Hi guys,
>
>
>
> I am working from the gdb trunk and the ip2k port of gdb.
>
>
>
> I have been running a trunk snapshot from about 4 weeks ago and when asked
> for the frame-pointer I go and figure it out (the fp isn't normally stored
> by the c-compiler).
>
>
>
> I just updated to the trunk and now the frames are all wrong.
>
>
>
> What I am seeing is that my code figures the FP out correctly (for example
> SP+10) but instead of looking for the first parameter at FP+0, it looks for
> the first parameter at FP+10.
I don't know much about ip2k but for sparc and pa-risc fp is the old sp.
If fp = sp+10 then fp+10 is the old fp. It looks like the +10 is done twice
perhaps at your chages and somewhere else but unfortunately I'm not a
gdb developer ...
Do you know where (in which cpp file) the backtrace functionality is?
(I've programmed it for sparc solaris and intel linux and try to do it
for pa-risc hp-ux, but on hp-ux the most things seems to be a little bit
more complicated ...)
Bye
Roland
prev parent reply other threads:[~2002-12-04 10:22 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-12-03 19:08 Jafa
2002-12-03 19:36 ` Andrew Cagney
2002-12-03 19:43 ` Daniel Jacobowitz
2002-12-04 2:22 ` Roland Egger [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=20021204112439.A14984@tarantel.rz.fh-muenchen.de \
--to=egger@tarantel.rz.fh-muenchen.de \
--cc=gdb@sources.redhat.com \
--cc=jafa@silicondust.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