This is the mail archive of the insight@sources.redhat.com mailing list for the Insight 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: duplicated source file names


Keith Seitz wrote:
On Thu, 2003-08-14 at 15:01, John Williams wrote:

- "list ext2_read_super": Does it return the correct source?

Nope - it lists the "correct" line numbers from the wrong file. I'm guessing this is a problem in the binutils addr2line, is that what it's for?


Close. Binutils doesn't really read debug info the way gdb does. They
both try to do the same thing, but gdb looks at it slightly differently.

OK.
I'm not too stressed about this, I can just rename the source file and rebuild the project as I need to, just wanted to know if there was something simple I might do.

Yeah -- that's been the sad approach used by most. As I recall we have a file in gdb that used to use the same filename as another file in bfd. Instead fixing gdb, someone renamed gdb's file!

ha! well if it's good enough for gdb, it's good enough for me :)


I have the source of this cross-gdb and can build it myself, if I feel inspired one day I might look into it. Recommend any resources (old mailing list archives perhaps?) where I might find info on how the bug was fixed?

Thanks,

John




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