This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Wrong source location in symbols


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]