Download MiniMON29K User Interface: MONDFE

Transcript
MONDFE Command-File Format
Command files contain sequences of the mondfe commands. The –c
command-line option specifies a single input file, whose commands are to be
executed immediately when mondfe is invoked.
Command files can improve efficiency when debugging a program. For
example, a command file can load and execute a program automatically when
mondfe is invoked. An example of the commands this file might contain is
shown below:
Y program.out
B 10020i
G
These commands (one per line) load the absolute COFF file program.out into
memory, set a breakpoint at location 10020i, and begin execution.
If these commands are stored in a file startup.cmd, the command line for
invoking mondfe would look like the following:
C:> mondfe –D –TIP eb29k_id –c startup.cmd
All the housekeeping chores associated with loading the program, setting
breakpoints, and displaying initial program or data information can be written
to a command file.
1–7
MiniMON29K User Interface: MONDFE
21