Mirror of the gdb mailing list
 help / color / mirror / Atom feed
* GDB internal error:  pc in psymtab, not in symtab
@ 2006-10-12  4:29 Michael Eager
  2006-10-12  4:43 ` Daniel Jacobowitz
  0 siblings, 1 reply; 6+ messages in thread
From: Michael Eager @ 2006-10-12  4:29 UTC (permalink / raw)
  To: gdb

I've been bitten by this same problem:
http://sourceware.org/ml/gdb/2005-11/msg00279.html

It looks like GDB issues a warning when the ELF symbol
table contains symbols, but the DWARF data doesn't.
Assembler source with a .file will have DWARF sections,
but only a TAG_Compilation_Unit.  It's legit DWARF.

There seem to be fixes for problems with similar
symptoms with mdebug and stabs, but nothing for DWARF.
Have you seen any kind of fix?

Any suggestion for a fix?  It doesn't look like GDB
knows where the debug info came from.  One fix is
to simply suppress the message.  Another is to have
the DWARF reader tag the psym if no symbols are found,
so that symtab.c can know that it's not an error.


-- 
Michael Eager	 eager@eagercon.com
1960 Park Blvd., Palo Alto, CA 94306  650-325-8077


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2006-10-12 20:30 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-10-12  4:29 GDB internal error: pc in psymtab, not in symtab Michael Eager
2006-10-12  4:43 ` Daniel Jacobowitz
2006-10-12  7:55   ` Steven Johnson
2006-10-12 12:52     ` Daniel Jacobowitz
2006-10-12 20:30       ` Steven Johnson
2006-10-12 15:11     ` Michael Eager

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox