From: Daniel Jacobowitz <drow@mvista.com>
To: Eli Zaretskii <eliz@elta.co.il>
Cc: Paul Koning <pkoning@equallogic.com>, gdb@sources.redhat.com
Subject: Re: inner block not inside outer block
Date: Mon, 29 Dec 2003 16:06:00 -0000 [thread overview]
Message-ID: <20031229160557.GA14166@nevyn.them.org> (raw)
In-Reply-To: <7491-Mon29Dec2003173616+0200-eliz@elta.co.il>
On Mon, Dec 29, 2003 at 05:36:17PM +0200, Eli Zaretskii wrote:
> > Date: Mon, 29 Dec 2003 09:54:55 -0500
> > From: Paul Koning <pkoning@equallogic.com>
> >
> > It turned out that the recovery code (in 5.3 anyway) for this
> > condition makes matters worse by fiddling with the start/end values of
> > the offending blocks. This is a bad idea because the blocks in
> > question are in fact completely unrelated (it's anyone's guess why the
> > compiler is putting out such nonsense).
>
> Could you please elaborate on the ``blocks in question are in fact
> completely unrelated'' issue? Are you saying that the ``inner'' block
> is unrelated to the ``outer'' block?
>
> Also, do I understand correctly that you consider this a compiler bug?
> I tend to think that as well, so I googled for similar messages, in
> the hope that I will hit a discussion on some GCC forum that would
> shed some light on this, but came up with nothing useful.
>
> > I fixed this by inserting "continue;" immediately after the complain
> > message, i.e., not changing the start or end of either block and not
> > setting the superblock pointer when the other block clearly can't be
> > the superblock.
>
> Perhaps we should commit such a change; it's not in the CVS AFAICS.
Hmm.... maybe. I've learned that the business of trying to guess what
inconsistent debug information means is a pretty bad one. There's
probably another broken version of GCC where the existing fixup is
better.
> > By the way, that was GDB for mips, which I think is ecoff, fed by gcc
> > 3.0.1 or thereabouts.
>
> What was the format of the debug info? Was it DWARF2, by any chance,
> and if so, did you try stabs? In my case, the object format is COFF
> and the debug info is DWARF2.
No, it would probably have been stabs-in-mdebug. GCC 3.0.1 didn't
support DWARF2 for MIPS targets.
--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer
next prev parent reply other threads:[~2003-12-29 16:06 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-12-28 11:24 Eli Zaretskii
2003-12-28 18:46 ` Daniel Jacobowitz
2003-12-30 14:42 ` Eli Zaretskii
2003-12-30 15:27 ` Daniel Jacobowitz
2003-12-31 3:36 ` Daniel Berlin
2003-12-29 14:54 ` Paul Koning
2003-12-29 15:38 ` Eli Zaretskii
2003-12-29 16:06 ` Daniel Jacobowitz [this message]
2003-12-29 21:54 ` Eli Zaretskii
2003-12-29 16:17 ` Paul Koning
2003-12-30 18:01 David Anderson
2003-12-30 23:04 ` Eli Zaretskii
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=20031229160557.GA14166@nevyn.them.org \
--to=drow@mvista.com \
--cc=eliz@elta.co.il \
--cc=gdb@sources.redhat.com \
--cc=pkoning@equallogic.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