If any stacking or vector-fetch cycles are not terminated, the monitor will terminate
them by force. If this happens, the PC and SR may be displayed incorrectly by the
monitor. The same problem can result from stack memory that is not writeable.
Neither condition will prevent entry into the monitor, but you will not be able to
resume execution in the target program.
Exiting the foreground monitor
If the tests of the preceding paragraphs operate correctly, you should be able to
resume execution of the target program. You may want to take a trace of the
monitor exit to verify that everything is working correctly. Use the run command:
r
Software breakpoint entry into the foreground
monitor
The foreground monitor can also be entered via a software breakpoint. The
emulator will respond to any software breakpoint instruction in the code if
breakpoints are enabled, regardless of whether the breakpoint was inserted by the
emulator or not. Breakpoints are enabled by the following command:
bc -e bp
Only set breakpoints on the initial word of an instruction; otherwise, they will not
be executed, and they may alter an instruction, unintentionally. The emulator can
place a breakpoint using two methods. By default, the emulator will attempt to
modify memory to insert a breakpoint instruction at the address specified. If the
memory at the address specified is ROM or cannot be modified for some other
reason, special hardware resources on the emulator will interject a breakpoint
instruction when the associated address is fetched. You can tell if a hardware
resource was required to support a breakpoint by viewing memory at the breakpoint
address. If the BKPT instruction has replaced the normal instruction at that
address, a software breakpoint was used. If the normal instruction is still in the
Chapter 18: Connecting the Emulator to a Target System
Installing Emulator Features
660
Summary of Contents for 64783A
Page 30: ...xxx ...
Page 31: ...Part 1 Quick Start Guide 1 ...
Page 33: ...1 Getting Started 3 ...
Page 70: ...40 ...
Page 75: ...Part 2 Using The Emulator 45 ...
Page 140: ...110 ...
Page 141: ...4 Using the Emulator How to control the processor and view system resources 111 ...
Page 227: ...5 Using the Emulation Bus Analyzer How to record program execution in real time 197 ...
Page 290: ...260 ...
Page 331: ...8 Configuring the Emulator 301 ...
Page 382: ...352 ...
Page 383: ...9 Solving Problems What to do when the emulator doesn t behave as expected 353 ...
Page 397: ...Part 3 Reference 367 ...
Page 399: ...10 Using Memory Management Understanding logical and physical emulation and analysis 369 ...
Page 429: ...11 Emulator Commands The command syntax reference for the emulator softkey interface 399 ...
Page 443: ...copy Chapter 11 Emulator Commands copy 413 ...
Page 451: ...display Chapter 11 Emulator Commands display 421 ...
Page 457: ...DISPLAY MEMORY Chapter 11 Emulator Commands DISPLAY MEMORY 427 ...
Page 461: ...DISPLAY MMU Chapter 11 Emulator Commands DISPLAY MMU 431 ...
Page 464: ...DISPLAY TRACE Chapter 11 Emulator Commands DISPLAY TRACE 434 ...
Page 480: ...modify Chapter 11 Emulator Commands modify 450 ...
Page 501: ...set Chapter 11 Emulator Commands set 471 ...
Page 514: ... SYMB Chapter 11 Emulator Commands SYMB 484 ...
Page 582: ...552 ...
Page 583: ...13 Setting X Resources 553 ...
Page 598: ...568 ...
Page 606: ...576 ...
Page 613: ...16 Specifications and Characteristics 583 ...
Page 627: ...Part 4 Concept Guide 597 ...
Page 629: ...17 X Resources and the Graphical User Interface 599 ...
Page 639: ...Part 5 Installation and Service Guide 609 ...
Page 697: ...19 Installation and Service 667 ...
Page 746: ...Chapter 19 Installation and Service Verifying the Installation 716 ...
Page 755: ...20 Installing Updating Emulator Firmware 725 ...
Page 762: ...732 ...
Page 778: ...748 ...
Page 810: ...X server 554 604 X Window System 54 Index 780 ...