From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andrew Cagney To: Mauricio Lima Pilla Cc: gdb@sourceware.cygnus.com Subject: Re: Help with source+object address Date: Thu, 10 May 2001 08:32:00 -0000 Message-id: <3AF999DA.2010607@cygnus.com> References: X-SW-Source: 2001-05/msg00204.html > 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