From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2304 invoked by alias); 18 Aug 2003 18:32:23 -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 2297 invoked from network); 18 Aug 2003 18:32:22 -0000 Received: from unknown (HELO concert.shout.net) (204.253.184.25) by sources.redhat.com with SMTP; 18 Aug 2003 18:32:22 -0000 Received: from duracef.shout.net (duracef.shout.net [204.253.184.12]) by concert.shout.net (8.12.9/8.12.9) with ESMTP id h7IIWKWs018174; Mon, 18 Aug 2003 13:32:20 -0500 Received: from duracef.shout.net (localhost [127.0.0.1]) by duracef.shout.net (8.12.9/8.12.9) with ESMTP id h7IIWKHK004465; Mon, 18 Aug 2003 13:32:20 -0500 Received: (from mec@localhost) by duracef.shout.net (8.12.9/8.12.9/Submit) id h7IIWKUx004464; Mon, 18 Aug 2003 14:32:20 -0400 Date: Mon, 18 Aug 2003 18:32:00 -0000 From: Michael Elizabeth Chastain Message-Id: <200308181832.h7IIWKUx004464@duracef.shout.net> To: eliz@gnu.org, gdb-patches@sources.redhat.com Subject: [rfa/doc] Document pr gdb/1322 in PROBLEMS X-SW-Source: 2003-08/txt/msg00306.txt.bz2 This patch adds pr gdb/1322 to PROBLEMS. It describes the problem and offers a workaround and a link to a patch. OK to apply to gdb HEAD? OK to apply to gdb gdb_6_0-branch? Michael C 2003-08-18 Michael Chastain * PROBLEMS: Document pr gdb/1322, the Java anonymous objfile bug. Index: PROBLEMS =================================================================== RCS file: /cvs/src/src/gdb/PROBLEMS,v retrieving revision 1.14.30.2 diff -c -3 -p -r1.14.30.2 PROBLEMS *** PROBLEMS 26 Jun 2003 16:25:53 -0000 1.14.30.2 --- PROBLEMS 18 Aug 2003 18:28:19 -0000 *************** gcc 3.x generates these multiple object *** 19,21 **** --- 19,35 ---- implement virtual base classes. gcc 2.x generated just one object code function with a hidden parameter, but gcc 3.x conforms to a multi-vendor ABI for C++ which requires multiple object code functions. + + gdb/1322: "internal-error: sect_index_text not initialized" after printing a java type + + When gdb debugs a Java program which uses shared libraries, it can + generate this internal error. + + If you get this error when debugging Java, you can try working around + the problem by relinking your program with no shared libraries at all + (even the standard C library). With the GNU linker, use the "-static" + argument to do this. + + You can also try this patch for gdb: + + http://sources.redhat.com/ml/gdb-prs/2003-q3/msg00190.html