Hi I am in the process of verifying that gcc (3.3.2) produces traceable object code (ie. gcc does not introduce 'hidden' structure into the object code).
I have created a file with several functions containing various combinations of C constructs and I intend to examine the resulting object code (PowerPC 604 target) to determine traceability. What I need and can't seem to find is a method of determining the register allocation (to specific variable) for each resulting object code function. This 'must' be available in some debug format(?) I could of course do this by inspection but this is subject to errors and is time consuming. Is there any convenient way I can get gcc to dump this information when I compile the code? Thanks Duncan DISCLAIMER: Unless indicated otherwise, the information contained in this message is privileged and confidential, and is intended only for the use of the addressee(s) named above and others who have been specifically authorized to receive it. If you are not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this message and/or attachments is strictly prohibited. The company accepts no liability for any damage caused by any virus transmitted by this email. Furthermore, the company does not warrant a proper and complete transmission of this information, nor does it accept liability for any delays. If you have received this message in error, please contact the sender and delete the message. Thank you.