From: Daniel Jacobowitz <drow@mvista.com>
To: Andrew Cagney <ac131313@redhat.com>
Cc: Jim Blandy <jimb@redhat.com>, gdb-patches@sources.redhat.com
Subject: Re: [just for the record]: new prologue analyzer for S/390
Date: Mon, 21 Apr 2003 16:38:00 -0000 [thread overview]
Message-ID: <20030421163845.GA22489@nevyn.them.org> (raw)
In-Reply-To: <3EA41CE6.9000706@redhat.com>
On Mon, Apr 21, 2003 at 12:31:34PM -0400, Andrew Cagney wrote:
> >I think this patch shouldn't be committed; I'm just posting it for
> >reference.
> >
> >This patch implements a new prologue analyzer for the S/390. It's
> >meant to be general enough to handle the complex prologues GCC emits
> >on the S/390, and robust enough to tolerate compiler changes. In my
> >experience, it does pretty well, even on optimized code.
> >
> >However, the S/390 GDB folks at IBM and I agree that GDB on the S/390
> >should move towards using Dwarf 2 CFI and location lists whenever
> >possible, and do only minimal prologue analysis to handle those few
> >common cases where Dwarf 2 CFI is not available. And it looks to me
> >as if the work needed in GDB's core code to make it possible for any
> >target to use Dwarf 2 CFI is almost complete. In that light, it
> >doesn't make sense to dump a new, large, complex prologue analyzer
> >into the code base that will soon be eclipsed by a better solution.
> - the need to have gdb behave reasonably well when there is no, or
> minimal, debug info
The others aside for the moment, I believe this is the best reason to
continue to support the prologue analyzers.
On the other hand, we're making active progress in providing more and
better CFI; and now we support debug info in a separate file from the
code; so some day soon I expect that I won't even care how GDB behaves
without debug info except for debugging other people's proprietary
software to which I don't have source. And in that case (which comes
up occasionally) the level of sophistication needed from a prologue
analyzer is extremely low.
--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer
next prev parent reply other threads:[~2003-04-21 16:38 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-04-18 21:53 Jim Blandy
2003-04-21 16:31 ` Andrew Cagney
2003-04-21 16:38 ` Daniel Jacobowitz [this message]
2003-04-21 21:11 ` Andrew Cagney
2003-04-21 21:54 ` Jim Blandy
2003-05-04 22:11 ` Jim Blandy
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=20030421163845.GA22489@nevyn.them.org \
--to=drow@mvista.com \
--cc=ac131313@redhat.com \
--cc=gdb-patches@sources.redhat.com \
--cc=jimb@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