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
Summary of Contents for 64780A
Page 1: ...Graphical User Interface User s Guide MC68360 68EN360 Emulator Analyzer HP 64780A ...
Page 20: ...xx ...
Page 21: ...Part 1 Quick Start Guide 1 ...
Page 23: ...1 Getting Started 3 ...
Page 45: ...Part 2 Using The Emulator 25 ...
Page 47: ...2 Plugging into a Target System 27 ...
Page 55: ...Chapter 2 Plugging into a Target System Plugging into the Motorola QUADS Target System 35 ...
Page 59: ...3 Starting and Exiting HP 64700 Interfaces 39 ...
Page 69: ...4 Entering Commands 49 ...
Page 103: ...5 Configuring the Emulator 83 ...
Page 122: ...102 ...
Page 123: ...6 Using the Emulator 103 ...
Page 193: ...7 Using the Emulation Bus Analyzer How to record program execution in real time 173 ...
Page 249: ...8 Making Software Performance Measurements 229 ...
Page 279: ...9 Making Coordinated Measurements 259 ...
Page 295: ...Part 3 Reference 275 ...
Page 297: ...10 Setting X Resources 277 ...
Page 312: ...292 ...
Page 313: ...11 Emulator Analyzer Interface Commands 293 ...
Page 391: ...set Chapter 11 Emulator Analyzer Interface Commands set 371 ...
Page 405: ... SYMB Chapter 11 Emulator Analyzer Interface Commands SYMB 385 ...
Page 422: ...402 ...
Page 460: ...440 ...
Page 461: ...Part 4 Concept Guide 441 ...
Page 463: ...13 Concepts of the EMSIM and EMRAM 443 ...
Page 471: ...Part 5 Installation and Service Guide 451 ...
Page 473: ...14 Installation 453 ...
Page 491: ...Chapter 14 Installation Verifying the Installation 471 ...
Page 493: ...15 Installing Updating Emulator Firmware 473 ...
Page 500: ...480 ...
Page 516: ...496 ...
Page 540: ...520 ...