From: Paul Koning <pkoning@equallogic.com>
To: eliz@elta.co.il
Cc: gdb@sources.redhat.com
Subject: Re: inner block not inside outer block
Date: Mon, 29 Dec 2003 16:17:00 -0000 [thread overview]
Message-ID: <16368.21398.458932.829070@gargle.gargle.HOWL> (raw)
In-Reply-To: <7491-Mon29Dec2003173616+0200-eliz@elta.co.il>
>>>>> "Eli" == Eli Zaretskii <eliz@elta.co.il> writes:
>> 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).
Eli> Could you please elaborate on the ``blocks in question are in
Eli> fact completely unrelated'' issue? Are you saying that the
Eli> ``inner'' block is unrelated to the ``outer'' block?
What I meant is that the address ranges weren't anywhere near each
other, but they did look like valid ranges for blocks somewhere in the
program. So I concluded that the problem was that unrelated blocks
were being tied together by mistake.
Eli> Also, do I understand correctly that you consider this a
Eli> compiler bug? I tend to think that as well, so I googled for
Eli> similar messages, in the hope that I will hit a discussion on
Eli> some GCC forum that would shed some light on this, but came up
Eli> with nothing useful.
After thinking about it some more I realize that this is an
unsupported assumption. As one of the other messages just now points
out, it could be a gdb but (in reading the data), a compiler bug, or a
linker bug.
I have no data to narrow it down better than that, and my skills in
this area aren't really adequate to do so.
>> 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.
Eli> Perhaps we should commit such a change; it's not in the CVS
Eli> AFAICS.
>> By the way, that was GDB for mips, which I think is ecoff, fed by
>> gcc 3.0.1 or thereabouts.
Eli> What was the format of the debug info? Was it DWARF2, by any
Eli> chance, and if so, did you try stabs? In my case, the object
Eli> format is COFF and the debug info is DWARF2.
Sorry, I'm still learning this stuff... Stabs, I believe -- the
default MIPS format for GCC 3.0.1. I don't think Dwarf-2 is even
supported in that target/version.
paul
next prev parent reply other threads:[~2003-12-29 16:17 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
2003-12-29 21:54 ` Eli Zaretskii
2003-12-29 16:17 ` Paul Koning [this message]
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=16368.21398.458932.829070@gargle.gargle.HOWL \
--to=pkoning@equallogic.com \
--cc=eliz@elta.co.il \
--cc=gdb@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