User`s guide

130 CPU32 Emulation
Chapter 7: Using the Emulator with a Debugger
Using the Software Development Systems debugger
specific to initializing the processor. It is executed each time the processor
is reset. The value of the _reset alias can be viewed by issuing a "alias
_reset" from the command window.
Execute the commands specified by the _config alias. The _config alias
should be used to specify commands that are specific to initializing
(configuring) the target system. It is executed each time the processor is
reset and each time the debug dialog is exited. The value of the _config
alias can be viewed by issuing an "alias _config" from the command
window.
If "load image" was selected then download the application and set the PC
based on object module file contents.
If "execute until main" was selected then set a breakpoint at main() and
run.
To send commands to the emulator
To view commands sent by SingleStep
SingleStep communicates to the emulator using the emulator’s
"terminal interface" commands. SingleStep automatically generates
and sends the commands required for normal operation. This
communication between SingleStep and the emulator can be observed
by entering the following command in the SingleStep command
window:
control -ms
To send commands
"Terminal interface" commands may be sent directly to the emulator
from the SingleStep command window or included in SingleStep’s .cfg
or .dbg command files.
Commands should be enclosed in double quotes and given the prefix:
control-c
.