HP B1476 68020 User Manual page 587

Debugger/emulator
Table of Contents

Advertisement

Examples
To start execution of an emulator interface command file at the beginning of
sub-program main5, enter:
Breakpoint Instr main5; cmd_forward ("emul",
"my_command_file")
To provide a target function to send a command to a user interface, compile
the following function into your target program:
void send_command (ui, cmd)
char *ui, *cmd;
{
return;
}
Then set a breakpoint with a macro call:
Breakpoint Instr send_command\@ENTRY; cmd_forward
(ui,cmd)
When execution reaches the first statement in send_command() the command
cmd will be sent to user interface ui. Execution will halt if ui was not attached,
and will continue otherwise.
Chapter 15: Predefined Macros
cmd_forward
563

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the B1476 68020 and is the answer not in the manual?

Subscribe to Our Youtube Channel

This manual is also suitable for:

B1476 68030

Table of Contents