> Thanks for responding to my post. I am not trying to generate C but to follow > the intermediate representation into the Ada runtime. > > So let's just say we had this: > > with Ada.Text_IO; > use Ada.Text_IO; > procedure Do_Delays is > begin > Put_Line("Wait 5 seconds."); > delay 5.0; > Put_Line("Wait 2 seconds."); > delay 2.0; > Put_Line("Wait 7 seconds."); > delay 7.0; > Put_Line("That's all folks."); > end Do_Delays; > > I want to follow "delay" through the intermediate representation into the Ada > runtime to see where the code actually causes a pause state to occur.
Ok so you should indeed use -gnatDL and you will see these runtime calls materialize. The syntax of the .dg files is documented in gcc/ada/sprint.ads > > I can do this with GnuCOBOL because it compiles to C but that is not the case > here and I can't seem to figure out how to follow the code as it is being > translated through it's various stages and into the runtime. > > Thanks again-Pat