From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19824 invoked by alias); 12 Apr 2002 10:19:47 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 19770 invoked from network); 12 Apr 2002 10:19:44 -0000 Received: from unknown (HELO dublin.ACT-Europe.FR) (212.157.227.154) by sources.redhat.com with SMTP; 12 Apr 2002 10:19:44 -0000 Received: from berlin.ACT-Europe.FR (berlin.int.act-europe.fr [10.10.0.169]) by dublin.ACT-Europe.FR (Postfix) with ESMTP id 42A32229E45 for ; Fri, 12 Apr 2002 12:19:42 +0200 (MET DST) Received: by berlin.ACT-Europe.FR (Postfix, from userid 507) id 89209984; Fri, 12 Apr 2002 12:19:41 +0200 (CEST) Date: Fri, 12 Apr 2002 03:19:00 -0000 From: Joel Brobecker To: gdb-patches@sources.redhat.com Subject: [RFC] Uninitialized section index internal error on Tru64 5.1 Message-ID: <20020412121941.E16134@act-europe.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i X-SW-Source: 2002-04/txt/msg00452.txt.bz2 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