From: Andrew Cagney <ac131313@ges.redhat.com>
To: Kevin Buettner <kevinb@redhat.com>
Cc: gdb-patches@sources.redhat.com
Subject: Re: [patch/mips] Use unwind in mips_get_saved_register
Date: Fri, 13 Sep 2002 13:00:00 -0000 [thread overview]
Message-ID: <3D8243E9.5040500@ges.redhat.com> (raw)
In-Reply-To: <1020913182011.ZM18899@localhost.localdomain>
> On Sep 13, 1:55pm, Andrew Cagney wrote:
>
>
>> The attached is ``two steps forward, one step back'' patch.
>>
>> It modifies mips_get_saved_register() so that it uses the new unwind
>> code. The new unwind code automatically handles the fetching of
>> registers in dummy-frames. Unfortunatly, the change doesn't fix the
>> problem of the MIPS fiddling memory register reads dependant on the
>> current ABI.
>
>
> I posted a similar patch last month:
>
> http://sources.redhat.com/ml/gdb-patches/2002-08/msg00198.html
>
> At that time you rejected it for the reasons given in:
>
> http://sources.redhat.com/ml/gdb-patches/2002-08/msg00214.html
> http://sources.redhat.com/ml/gdb-patches/2002-08/msg00235.html
>
> Please explain what has changed between then and now which makes it
> acceptable to now use frame_register_unwind()?
I know. See:
http://sources.redhat.com/ml/gdb-patches/2002-09/msg00223.html
At the time of your original patch, the only motivation was the
elimination of frame_register_unwind() --- on its own, I don't see any
benefit. Since then, as part of converting the MIPS to generic dummy
frames (a needed and huge forward step), I've found that I need to use
the generic unwind code to at least keep things working. You'll note
that the code includes some very blunt comments that make it clear where
any bugs are.
enjoy,
Andrew
prev parent reply other threads:[~2002-09-13 20:00 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-09-13 10:55 Andrew Cagney
2002-09-13 11:20 ` Kevin Buettner
2002-09-13 13:00 ` Andrew Cagney [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=3D8243E9.5040500@ges.redhat.com \
--to=ac131313@ges.redhat.com \
--cc=gdb-patches@sources.redhat.com \
--cc=kevinb@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