2003-08-18 Michael Chastain <mec@shout.net>

* PROBLEMS: Document pr gdb/1322, the Java anonymous
	objfile bug.
This commit is contained in:
Michael Chastain 2003-08-25 18:16:19 +00:00
parent 980491e6d5
commit 43c3a82e5b
2 changed files with 19 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2003-08-18 Michael Chastain <mec@shout.net>
* PROBLEMS: Document pr gdb/1322, the Java anonymous
objfile bug.
2003-08-24 Mark Kettenis <kettenis@gnu.org>
* i387-tdep.h: Update copyright date.

View File

@ -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