Wrong source location in symbols

Daniel Jacobowitz drow@false.org
Mon Dec 11 16:50:00 GMT 2006


On Mon, Dec 11, 2006 at 05:48:24PM +0100, Fabian Cenedese wrote:
> I couldn't quite make out in symtab.c a place where the filenames
> get set. But I saw in elfread.c, elf_symtab_read that quite some
> minsyms got the filename write.c set though they are not in this
> source file. I'll see what else I can find.

It's not set per se; it's looked up when needed.  Start with the code
that prints out the dump and work from there.

-- 
Daniel Jacobowitz
CodeSourcery



More information about the Gdb mailing list