This is the mail archive of the gdb@sources.redhat.com 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]

Re: Help with source+object address


> I need help with associating object addresses with the source code
> lines. I'm a complete rookie in this field, and I'm not even sure I'm
> posting to the right mail list, so please forgive me if it's the wrong
> place. 
> 
> I'm working with a superscalar processor simulator (SimpleScalar) and I
> want to associate addresses in the object file with lines of source code,
> just to analyse what the compiler is doing with my source code, and which
> branches are derived from if, for, while,...

Check the program addr2line.

	Andrew


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