Wrong source location in symbols

Daniel Jacobowitz drow@false.org
Mon Dec 11 13:41:00 GMT 2006


On Mon, Dec 11, 2006 at 11:14:52AM +0100, Fabian Cenedese wrote:
> No matter where they are defined, the symbols get as location the (wrong)
> file write.c, so the last valid file from the .text section. I tried with both
> -gstabs or -gdwarf-2, but that didn't change anything. I also tried with
> forward and back slashes in the paths of the compiled files, no luck.
> 
> Where's the code in gdb that would set these locations?

In symtab.c.  If you can build a relatively small testcase, we can
investigate.

-- 
Daniel Jacobowitz
CodeSourcery



More information about the Gdb mailing list