From: Michael Chastain Date: Mon, 25 Aug 2003 18:16:19 +0000 (+0000) Subject: 2003-08-18 Michael Chastain X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=43c3a82e5ba7161808fcbd2e9ba570ee18170fa3;p=binutils-gdb.git 2003-08-18 Michael Chastain * PROBLEMS: Document pr gdb/1322, the Java anonymous objfile bug. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index b85263fe42a..67a2d05dc5d 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 74806333035..77deedc057e 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