Thanks for all the comment and also for the wiki tutorial!!
Is there something similar for debug the RTL since it was mention here how to compile it?
Thanks for all the comment and also for the wiki tutorial!!The RTL is in some respects like a library, so if you have a test program that calls the code of interest in the RTL, you can debug the test program and step into the RTL code - if the RTL has been compiled with the necessary debug information. I've also noticed that the optimization level should not be too high, else tools like gdb struggle with stepping, but -O1 seems to work. Here is an example command to build the RTL for debugging:
Is there something similar for debug the RTL since it was mention here how to compile it?