This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
[rfa/doc] Document pr gdb/1322 in PROBLEMS
- From: Michael Elizabeth Chastain <mec at shout dot net>
- To: eliz at gnu dot org, gdb-patches at sources dot redhat dot com
- Date: Mon, 18 Aug 2003 14:32:20 -0400
- Subject: [rfa/doc] Document pr gdb/1322 in PROBLEMS
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 <mec@shout.net>
* 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