>> Hi,
>> I'm needing to analyze the execution flow of a test, but don't
>> understand how the test drivers, e.g., gcc-dg.exp or dg.exp, access
>> the source code of GCC. When a test starts, what is the first function
>> that is called? How can I know that?
>
> The first function is main(), because the tests just run the compiler.
> DejaGnu doesn't access the source code of GCC, it just runs the
> compiler executable.

OK, I understand. But when a test run the compiler, all compiler
stages/phases are always executed? how the test knows the compiler
stage must be run? from the "dg-do" actions (preprocess, compile,
assemble, link, run)? how the "dg-do" actions are processed/performed?


Thanks,
-- 
Sabrina Souto

Reply via email to