Enabling/Disabling Software Breakpoints; Setting A Software Breakpoint - HP 7750 Series User Manual

Emulator softkey interface
Hide thumbs Also See for 7750 Series:
Table of Contents

Advertisement

Enabling/Disabling
Software Breakpoints
Setting a Software
Breakpoint
2-22 Getting Started
whether the BRK instruction is software breakpoints or opcode in your
target program.
If it is a software breakpoint, execution breaks to the monitor, and the
BRK instruction is replaced by the original opcode. A subsequent run
or step command will execute from this address.
If the BRK instruction is opcode of your target program, execution still
breaks to the monitor, and an "Undefined software breakpoint " status
message is displayed.
When you initially enter the Softkey Interface, software breakpoints are
disabled. To enable the software breakpoints feature, enter the
following command.
modify software_breakpoints enable <RETURN>
When software breakpoints are enabled and you set a software
breakpoint, the BRK instruction will be placed at the address specified.
When the breakpoint interrupt instruction is executed, program
execution will break into the monitor.
To set a software breakpoint at line 80 of "spmt_demo.c", enter the
following command.
modify software_breakpoints set line 80
<RETURN>
To see the address where the software breakpoint has been set, enter the
following command:
display memory line 80 mnemonic <RETURN>
set source on inverse_video on <RETURN>

Advertisement

Table of Contents
loading

This manual is also suitable for:

7751 series64147a

Table of Contents