From 43c3a82e5ba7161808fcbd2e9ba570ee18170fa3 Mon Sep 17 00:00:00 2001 From: Michael Chastain Date: Mon, 25 Aug 2003 18:16:19 +0000 Subject: [PATCH] 2003-08-18 Michael Chastain * PROBLEMS: Document pr gdb/1322, the Java anonymous objfile bug. --- gdb/ChangeLog | 5 +++++ gdb/PROBLEMS | 14 ++++++++++++++ 2 files changed, 19 insertions(+) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index b85263f..67a2d05 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2003-08-18 Michael Chastain + + * PROBLEMS: Document pr gdb/1322, the Java anonymous + objfile bug. + 2003-08-24 Mark Kettenis * i387-tdep.h: Update copyright date. diff --git a/gdb/PROBLEMS b/gdb/PROBLEMS index 7480633..77deedc 100644 --- a/gdb/PROBLEMS +++ b/gdb/PROBLEMS @@ -19,3 +19,17 @@ gcc 3.x generates these multiple object code functions in order to 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 -- 2.7.4