Next: , Previous: , Up: The c_trace backend   [Contents][Index]

Command-line options for c_trace

Command-line options for c_trace

When ncptl is passed --backend=c_trace as a command-line option, c_trace processes the following backend-specific command-line options:


Specify a backend that will produce C code for c_trace to trace. The --trace option is required to use c_trace; c_trace will issue an error message if --trace is not specified. The restrictions on backend are that it must produce C code and must be derived from the c_generic backend (see Backend creation). Improper backends cause c_trace to abort abnormally.


Instead of injecting fprintf() statements into the generated C code, inject calls to the curses (or ncurses) library to show graphically the line of code currently executing on a given processor.

Scott Pakin,