Breakpt Access - HP 68000 Series User Manual

Debugger/simulator
Table of Contents

Advertisement

Breakpt Access

The Breakpt Access command sets an access breakpoint at the specified
memory location (< addr> ) or range (< addr> ..< addr> ). The access
breakpoint halts program execution each time the target program attempts to
read from or write to the specified memory location or range. Memory
locations may contain code or data.
You can attach a macro to a breakpoint using the optional < macro_call>
parameter. See the chapter titled "Using Macros and Command files".
Each time the debugger detects an access of the address or range, it does the
following:
1
Suspends program execution.
Execution will stop immediately following the current instruction.
2
Executes a macro (if you attached one to the breakpoint). Depending on
the macro return value, the debugger does one of the following actions:
– If the macro return value is true (nonzero), the debugger resumes
execution with the next instruction after the instruction that
caused the read or write to the memory location. No breakpoint
information is displayed.
– If the macro return value is false (zero), the debugger returns to
command mode and displays breakpoint information.
3
Returns to command mode if no macro was attached and displays
breakpoint information.
Chapter 9: Debugger Commands

Breakpt Access

267

Advertisement

Table of Contents
loading

This manual is also suitable for:

B1466

Table of Contents