From: Daniel Jacobowitz <drow@false.org>
To: Andrew Cagney <cagney@gnu.org>
Cc: gdb@sources.redhat.com
Subject: Re: [mips] When to use a proc_desc
Date: Tue, 06 Apr 2004 21:58:00 -0000 [thread overview]
Message-ID: <20040406215810.GA28116@nevyn.them.org> (raw)
In-Reply-To: <4073279E.2030807@gnu.org>
On Tue, Apr 06, 2004 at 05:56:46PM -0400, Andrew Cagney wrote:
> >I'll need to study this further, however, look at HP/UX.
> >
> >That unwinder checks its equivalent PDR against the prologue, ticking each
> >register off as it is encountered.
>
> I think the long answer is the same -- look at HP/UX. Fetch the PDR and
> then compare it against the instructions up-to $pc to see how many of
> those stores actually occured.
I think that defeats the point of having the proc_desc in the first
place. If we're only going to acknowledge register saves that we can
'easily' find, then why bother reading any of this out of the proc_desc
at all?
That would man the only useful proc_desc would b one which said fewer
registers were saved than really were, i.e. you could use them to
terminate the backtrace but not much else.
--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer
next prev parent reply other threads:[~2004-04-06 21:58 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-03-25 6:26 Daniel Jacobowitz
2004-03-25 16:22 ` Andrew Cagney
2004-04-06 21:56 ` Andrew Cagney
2004-04-06 21:58 ` Daniel Jacobowitz [this message]
2004-04-06 23:34 ` Mark Kettenis
2004-04-07 4:48 ` 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=20040406215810.GA28116@nevyn.them.org \
--to=drow@false.org \
--cc=cagney@gnu.org \
--cc=gdb@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