This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug symtab/13382] New: Cannot read jc1 symbol table: DW_FORM_strppointing outside of .debug_str section
- From: "ro at TechFak dot Uni-Bielefeld.DE"<sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Fri, 04 Nov 2011 13:12:32 +0000
- Subject: [Bug symtab/13382] New: Cannot read jc1 symbol table: DW_FORM_strppointing outside of .debug_str section
- Auto-submitted: auto-generated
http://sourceware.org/bugzilla/show_bug.cgi?id=13382
Bug #: 13382
Summary: Cannot read jc1 symbol table: DW_FORM_strp pointing
outside of .debug_str section
Product: gdb
Version: unknown
Status: NEW
Severity: normal
Priority: P2
Component: symtab
AssignedTo: unassigned@sourceware.org
ReportedBy: ro@TechFak.Uni-Bielefeld.DE
Classification: Unclassified
Host: sparc-sun-solaris2.8
Target: sparc-sun-solaris2.8
Build: sparc-sun-solaris2.8
I just tried to investigate an ICE in jc1 from gcc trunk on Solaris 8/SPARC.
Both gdb 7.3.1 and trunk (7.3.50-20111104) fail to read the symbol table,
rendering the debugger practically useless:
Reading symbols from
/var/gcc/regression/trunk/8-gcc-gas/build/sparc-sun-solaris2.8/libjava/jc1...DW_FORM_strp
pointing outside of .debug_str section [in module
/var/gcc/regression/trunk/8-gcc-gas/build/sparc-sun-solaris2.8/libjava/jc1]
No symbol table is loaded. Use the "file" command.
Make breakpoint pending on future shared library load? (y or [n]) [answered N;
input not from terminal]
No symbol table is loaded. Use the "file" command.
[...]
This seems to be a bug in gcc's debug info generation, but I wonder if gdb
cannot better deal with the situation instead of having no symbol table at all.
Rainer
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.