preserving comments

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

 



Hello,

This might be a non standard usage, so please bear with me.

I am in the process of writing a tool. The idea is that the user puts
comments at certain points of his program.
The comments have specific keywords. Once the code is compiled to generate
assembly code, I would like to parse through the assembled code and then
extract certain information based on the comments inserted in the code. The
second part of the application is when the same process is followed to
extract information from the linker output. For example, I would like to
extract the physical address from which the current instruction is being
executed. Can someone point me in the right direction if GCC has support to
preserve the comments in the code as it assembles and links the code?

Thanks in advance ...

-- 
View this message in context: http://old.nabble.com/preserving-comments-tp30296498p30296498.html
Sent from the gcc - Help mailing list archive at Nabble.com.



[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