From: Andrew Cagney <cagney@gnu.org>
To: Joel Brobecker <brobecker@gnat.com>
Cc: gdb-patches@sources.redhat.com
Subject: Re: [RFA/RFC] fix problems with unwinder on mips-irix
Date: Wed, 04 Aug 2004 01:43:00 -0000 [thread overview]
Message-ID: <411039F3.1020102@gnu.org> (raw)
In-Reply-To: <20040803044358.GA18163@gnat.com>
> Andrew,
>
>
>>>> >2004-07-22 Joel Brobecker <brobecker@gnat.com>
>>>> >
>>>> > * mips-tdep.c (mips_mdebug_frame_cache): Minor reformatting.
>>>> > (set_saved_reg_info): New function.
>>>> > (mips32_heuristic_proc_desc): Compute the procedure descriptor
>>>> > PROC_REG_OFFSET.
>>>> >
>>
>>>
>>> It's time to cut our losses and split the mdebug and heuristic cases.
>>> Lets work through this change after I've done that.
>
>
> I am sorry. I didn't have time to follow very well your recent changes
> to the mips unwinders. Is it time for me to come back to this issue,
> or do you think I should wait some more?
If you've the time, please do.
Two key things to know:
- with three unwinders handling three different cases previously handled
by one, there's a lot of dead code paths. For instance,
mips32_heuristic_proc_desc is now only called by mips_insn32_frame_cache
and hence can be inlined there, making it possible for your problem to
be solved more locally.
- I'm interested in a brutal overhaul of an unwinder, not a small tweak :-)
>>> In the mean time, can I encourage you to look at the s390 and it's
>>> stub-unwinder - the MIPS desperatly needs one of these (and it is
>>> something that can be wipped up in isolation). To see where its needed
>>> do a STEPI into shlib trampoline code.
>
>
> I would love to, IRIX looks like a fun platform to play with, but I am
> a bit time-starved right now. Hopefully in september.
I've added a stub unwinder.
Andrew
next prev parent reply other threads:[~2004-08-04 1:43 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-07-23 1:11 Joel Brobecker
2004-07-30 0:22 ` Andrew Cagney
2004-08-03 4:44 ` Joel Brobecker
2004-08-04 1:43 ` Andrew Cagney [this message]
2004-08-06 18:31 ` Joel Brobecker
2004-08-06 19:13 ` Andrew Cagney
2004-08-30 18:18 ` Joel Brobecker
2004-08-30 19:32 ` Andrew Cagney
2004-08-31 23:44 ` Joel Brobecker
2004-09-01 14:57 ` Andrew Cagney
2004-09-02 23:09 ` Joel Brobecker
2004-09-03 20:17 ` Andrew Cagney
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=411039F3.1020102@gnu.org \
--to=cagney@gnu.org \
--cc=brobecker@gnat.com \
--cc=gdb-patches@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