To Set A Permanent Breakpoint - HP MC68040 User Manual

Emulator, graphical user interface
Table of Contents

Advertisement

Chapter 4: Using the Emulator
Using Execution Breakpoints
Sometimes you will want to temporarily disable the execution breakpoints feature
without removing the existing breakpoints. Use one of the above commands to do
this.
When you disable breakpoints, the emulator replaces the BKPT instructions at all
breakpoint locations with the original instructions. It marks the breakpoint table
entries as "inactive." The processor won't break to monitor when the instructions at
inactive locations are executed.
If you later enable breakpoints, the ones in the table are still inactive. To use them,
you must set them by choosing Breakpoints→Set All, or on the command-line,
entering the modify software_breakpoints set command.

To set a permanent breakpoint

When displaying memory in mnemonic format, position the mouse pointer over the
program line where you wish to set the breakpoint and click the select mouse
button. Or, press and hold the select mouse button and choose Set/Clear Software
Breakpoint from the popup menu.
Place an absolute or symbolic address in the entry buffer; then, choose
Breakpoints→Permanent()
Using the command line, enter the command:
modify software_breakpoints set <address> permanent
The breakpoints feature must be enabled before individual breakpoints can be set.
When displaying memory in mnemonic format, asterisks (*) appear next to
breakpoint addresses. An asterisk shows the breakpoint is active. Also, if
assembly level code is being displayed, the disassembled instruction mnemonic at
the breakpoint address will show the breakpoint instruction.
167

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ec040Lc04064783a64783b

Table of Contents