Using Software Breakpoints
Software breakpoints provide a way to accurately stop the execution of your
program at selected locations.
Note
Version A.04.00 or greater of the HP 64700 system firmware provides support for
permanent as well as temporary breakpoints. If your version of HP 64700 system
firmware is less than A.04.00, only temporary breakpoints are supported.
When you set a software breakpoint at an address, the instruction at that address is
replaced with a BGND instruction. When the BGND instruction is executed, the
emulator enters its monitor state, and the original instruction is restored in the user
program.
If the BGND instruction was not inserted as the result of a modify
software_breakpoints set command, the "Undefined software breakpoint"
message is displayed on the status line.
In order to successfully set a software breakpoint, the emulator must be able to
write to the memory location specified. Therefore, software breakpoints cannot be
set in target memory while the emulator is reset, and they can never be set in target
ROM. (You can, however, copy target ROM to emulation memory by storing the
contents of target ROM to an absolute file, re-mapping the range as emulation
RAM, and loading the absolute file.)
Another way to break user program execution at a certain point is to break on the
analyzer trigger.
This section shows you how to:
•
Display the breakpoints list.
•
Enable/disable breakpoints.
•
Set a permanent breakpoint.
•
Set a temporary breakpoint.
•
Set all breakpoints.
•
Deactivate a breakpoint.
Chapter 6: Using the Emulator
Using Software Breakpoints
129
Содержание 64780A
Страница 1: ...Graphical User Interface User s Guide MC68360 68EN360 Emulator Analyzer HP 64780A ...
Страница 20: ...xx ...
Страница 21: ...Part 1 Quick Start Guide 1 ...
Страница 23: ...1 Getting Started 3 ...
Страница 45: ...Part 2 Using The Emulator 25 ...
Страница 47: ...2 Plugging into a Target System 27 ...
Страница 55: ...Chapter 2 Plugging into a Target System Plugging into the Motorola QUADS Target System 35 ...
Страница 59: ...3 Starting and Exiting HP 64700 Interfaces 39 ...
Страница 69: ...4 Entering Commands 49 ...
Страница 103: ...5 Configuring the Emulator 83 ...
Страница 122: ...102 ...
Страница 123: ...6 Using the Emulator 103 ...
Страница 193: ...7 Using the Emulation Bus Analyzer How to record program execution in real time 173 ...
Страница 249: ...8 Making Software Performance Measurements 229 ...
Страница 279: ...9 Making Coordinated Measurements 259 ...
Страница 295: ...Part 3 Reference 275 ...
Страница 297: ...10 Setting X Resources 277 ...
Страница 312: ...292 ...
Страница 313: ...11 Emulator Analyzer Interface Commands 293 ...
Страница 391: ...set Chapter 11 Emulator Analyzer Interface Commands set 371 ...
Страница 405: ... SYMB Chapter 11 Emulator Analyzer Interface Commands SYMB 385 ...
Страница 422: ...402 ...
Страница 460: ...440 ...
Страница 461: ...Part 4 Concept Guide 441 ...
Страница 463: ...13 Concepts of the EMSIM and EMRAM 443 ...
Страница 471: ...Part 5 Installation and Service Guide 451 ...
Страница 473: ...14 Installation 453 ...
Страница 491: ...Chapter 14 Installation Verifying the Installation 471 ...
Страница 493: ...15 Installing Updating Emulator Firmware 473 ...
Страница 500: ...480 ...
Страница 516: ...496 ...
Страница 540: ...520 ...