Re: Is there a way to generate a cross reference listing for a c/c++ program using gcc?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Or probably using sourcenav software from sourcenav.sourceforge.net

Daniel Berlin wrote:
On Fri, 2005-05-13 at 14:49 -0500, Paul Albrecht wrote:

Eric writes:


-Wl,-Map=mapfile.map,--cref


I'm not looking for a cross-reference from a symbol to its memory location in linked file, rather a cross-reference from a symbol definition in a program source file to its line number references in all the program source files.



It's probably easiest to snarf that from the debug information produced
in the executable with -g.





begin:vcard
fn:Carlo Corridore
n:Corridore;Carlo
org:Alenia Aeronautica Nola;Sistemi di Integrazione
adr:;;Via Boscofangone Zona A.S.I.;Polvica di Nola;NA;80035;Italy
email;internet:carlo@xxxxxxxxxxxxxxxxxxxxxxxxxx
title:Systems & Integration Manager
tel;work:++39-81-315-4103
tel;fax:++39-81-315-4044
x-mozilla-html:FALSE
version:2.1
end:vcard


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux