This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
[RFC] Uninitialized section index internal error on Tru64 5.1
- From: Joel Brobecker <brobecker at ACT-Europe dot FR>
- To: gdb-patches at sources dot redhat dot com
- Date: Fri, 12 Apr 2002 12:19:41 +0200
- Subject: [RFC] Uninitialized section index internal error on Tru64 5.1
This follows up on a discussion started over a year ago... Lack of time
prevented me from persuing this issue. Hopefully we can make progress
quickly. The last message on this topic was sent by me, and contains
a full description of what I believe is the source of the problem:
http://sources.redhat.com/ml/gdb-patches/2001-11/msg00296.html
The following patch fixes many regressions in the testsuite:
Summary 1 2
FAIL 1644 792
PASS 4388 6990
XFAIL 59 149
XPASS 1 3
I compiled on Tru64 5.1A, using GCC.
This patch is not meant to be integrated as is, this is more a first
rough fix presented so that we can discuss more precisely which
direction to take in order to complete the work.
In particular, should the "if section-is-uninitialized then discard"
bits be always there regardless of the target? Or should we put in place
some configure test in order to execute this test only on targets were
this is needed (alpha-osf is the only one that I know of).
There is also the get_section_index function that I quickly threw in. I
suppose it should be defined in a .h file, and implemented somewhere
else than in mdebugread.c.
Cheers,
--
Joel