|M68K Ada Technical Summary: For mission-critical applications on Motorola M68000 family computers|
|Prev||Chapter 4. User Interface and Debugging Facilities||Next|
The GNU debugger, gdb, as customized for M68K Ada, offers many features for debugging both at the high-level language level and with machine code.
Using the host-target link and the XGC monitor, the debugger can debug programs running on a remote target.
M68K Ada includes a target simulator that accurately simulates the Motorola M68000 family instruction set. The simulator includes the following features:
Simulates the entire M68000 instruction set, with an option to specify the CPU type (MC68000, MC68010...)
Simulates approximate instruction timing, including wait states
Prints statistics giving execution time, number of instructions in each class, number of nullified instructions
Prints current task state information. Traces task and interrupt states for a time range with several sorts of trigger.
Prints test coverage information, either for the whole program or for a given source file