On 10 January 2014 15:45, shall890 wrote: > Hello Jonathan, > > I don't usually use gcc. Is there a file that contains the debug info > output in a readable format? It's in the object file produced by the compiler, in a machine-readable format. > Also, where can Info on writing a GCC plugin? I found these pages by searching the web: http://gcc.gnu.org/wiki/plugins http://lwn.net/Articles/457543/ http://libplugin.sourceforge.net/tutorials/gcc-plugin.html Using debug info or writing a plugin will take a reasonable amount of work. If you're looking for something simple and quick then I think the answer is that GCC won't easily give you the information you're looking for.