Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Joel Brobecker <brobecker@gnat.com>
To: Andrew Cagney <cagney@gnu.org>
Cc: gdb-patches@sources.redhat.com
Subject: Re: [RFA/RFC] fix problems with unwinder on mips-irix
Date: Mon, 30 Aug 2004 18:18:00 -0000	[thread overview]
Message-ID: <20040830181829.GC969@gnat.com> (raw)
In-Reply-To: <411039F3.1020102@gnu.org>

Andrew,

I would like to fix the following issue:

> >>>>>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.

But you want a "major overhaul" of the mips unwinder as a precondition
to fixing the problem at hand. Could you explain a bit more what
overhaul you are interested in? I don't see what needs to be done.

In particular, you said:

> 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.

mips32_heuristic_proc_desc is called by heuristic_proc_desc. (And
frankly I find inlining often counter productive, as we end up
with giant function just as we did with decode_line_1).

Thanks,
-- 
Joel


  parent reply	other threads:[~2004-08-30 18:18 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
2004-08-06 18:31       ` Joel Brobecker
2004-08-06 19:13         ` Andrew Cagney
2004-08-30 18:18       ` Joel Brobecker [this message]
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=20040830181829.GC969@gnat.com \
    --to=brobecker@gnat.com \
    --cc=cagney@gnu.org \
    --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