GE 68K System manual DB Define Breakpoint

Page 47

68K System Monitor

User's Guide

GE Energy Services

DB - Define Breakpoint

Platform

Description

Syntax

þ CPM þ D20

o D20 ME

o D20/200

þ D20/200 ME

þ D25

D20 Base

D20 Base

CCU Base

CCU Base

 

Use this command to activate a breakpoint in a section of code located within RAM.

At the specified address, the command saves 68000 family instruction in the breakpoint table and replaces it with a TRAP instruction. When a process reaches the TRAP instruction, it traps into a breakpoint handling routine, which displays a message indicating that it encountered a breakpoint.

The 68K Monitor allows up to ten active breakpoints.

Below is usage and syntax information for this command

Command Format

db address [#loops]

 

 

 

 

Variables

None

 

 

 

 

 

 

Parameters

address

=

hexadecimal address for the breakpoint.

 

#loops

=

number of times to execute the specified address

 

 

 

(in decimal) before stopping; default is zero

 

 

 

 

 

Example

Type db 103648 and press ENTER.

 

 

 

This defines a breakpoint at hexadecimal address 103648,

 

 

 

which stops before the first execution of the instruction at that

 

 

 

address.

 

 

 

Results: The system responds with the breakpoint number

 

 

 

assigned to this breakpoint and the prompt. Each time

 

 

 

it encounters the breakpoint, the system displays the

 

 

 

breakpoint number, loop count, and register values. If

 

 

 

the loop count is greater than zero, it is decremented.

 

 

 

Otherwise, the process is suspended.

 

 

 

 

 

 

Special

You may define only one breakpoint at a single address, to a

 

 

Considerations

maximum of ten breakpoints per system. An attempt to define

 

 

 

a breakpoint in read only or non-existent memory results in a

 

 

 

bus error.

 

 

 

 

 

 

 

 

 

General

SWM0023-1.00 -2

Full Release

3-21

 

Image 47
Contents 68K System Monitor 2002, General Electric Canada Inc. All rights reserved Modification Record Users Guide Table of Contents ETH DstatEcho EraseOverview About This DocumentPurpose and Audience of this User’s Guide GEHCalgary.Support@ps.ge.com Support Services and Training68K System Monitor Connecting and Using the 68K Monitor D20MEA Connecting to the 68K MonitorMonitor D20MESCommandname parameters arguments Command Input and ResponseW l f d address Regular Keyboard Input 68K Monitor Display Error Messages Message Summary Command Grouping General System Commands Diagnostic Commands Memory Commands Process Commands Exchange Commands Breakpoint Commands Configuration Maintenance Commands 68K Monitor Commands Platform-Specific Commands Command / Platform Cross-ReferenceList of Commands AL Change Auto-logout Timer Monitor CommandsBaud Set Baud Rate Supported data rates, in bps, are Boot Startup Cache Control Cache For use by qualified programmer only CAL Calibrate KICB Clear Breakpoint CCA Change Configuration File Attributes CCB Create Configuration Storage Block Type ccb 600000 100000 400 2 and press Enter ParametersUsed only when multiple storage regions are defined CCF Clear Configuration FileEprom CF Copy FileCLS Clear Screen CP Change Priority Message Checksum is and should be CS Check SumCCU / Ccume Dump Memory Syntax DB Define Breakpoint Is this data accurate? Y/N Debug Debug ModeDo you wish to update the Nvram header? y/n DF Display File Data Type df /b config.bin and press EnterDHW Display Hardware Data D25 Nvram DIR DirectorySpecial Considerations DL Download DM Debug Mode Dstat Decompression Status Edit Memory Address = address to edit in hexadecimal notation Echo Echo Toggle EL Error Log D20 ME / Ccume Erase Flash EraseETH Ethernet Address Exit Exit Type f /w 200000 200400 F034 and press Enter Fill MemoryFT Find Table CCU / Ccume / D25 HE or Help HelpHT Hdlc Test IMG Display Image Information JTF Jump To Flash Type jx 304540 1 2 3 4 and press Enter JX Jam ExchangeKIM KI Metrics Type m 200000 200400 200 and press Enter Move MemoryPB Print Breakpoint PR Profile Important points to note PRG Program Flash QC Query Configuration Storage Parameters QP Query Process All numeric data displayed is in hexadecimal notation Nvram QR Query RAMQX Query Exchange Syntax RB Resume Breakpoint RP Resume Process RR Report RAM Partitions Type rt /gn 510000 5100b0 25000 and press Enter RT RAM TestSyntax RTB Return To BootROM RTC Test CCU RTC RX Request Exchange RZ Zmodem Download RZ Zmodem Download SA Serial Analyzer Buffer overflow SB Step Breakpoint SC Select Active Configuration Very dangerous to use, only for programmers SET Set System ParametersSI Display System Information Earlier versions of the Monitor, this command was dhwSP Suspend Process This function stops the execution of tasks within the remote ST Serial Test Loop Test Type sx 304540 1 2 3 4 and press Enter SX Send ExchangeSysc System Txxx Test Invoke Test ToolTR Trace Type tr /r 20 /t1 10 00123456 and press Enter Type tr /r 20 /t0 10 208000 = 12345678 and press EnterType tr /r 20 /t0 10 208000 change and press Enter Type tr /r 20 /t0 10 208000 != 12345678 and press EnterUL Upload VER Version VP Signal Process Winm WIN Metrics Index KIM