This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: Wrong source location in symbols
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