Go To Temporary Breakpoint (Gt) - Motorola M68CPU32BUG User Manual

Debug monitor
Table of Contents

Advertisement

GT
3.13 GO TO TEMPORARY BREAKPOINT
GT <addr>[:<count>]
Use the GT command to set a temporary breakpoint and start target code execution. A count may
be specified with the temporary breakpoint. Control is given at the target PC address. All
previously set breakpoints are enabled. The temporary breakpoint is removed when any
breakpoint with 0 count is encountered.
After setting the temporary breakpoint, the sequence of events is similar to that of the GO
command. At this point control is returned to CPU32Bug by:
Executing the .RETURN SYSCALL (TRAP #15) function
Press the ABORT switch or RESET switch of the M68300PFB Platform Board
Encountering a breakpoint with 0 count
Generation of an unexpected exception
EXAMPLE
The following program resides at $4000.
CPU32Bug>MD 4000;DI<CR>
00004000
2200
00004002
4282
00004004
D401
00004006
E289
00004008
66FA
0000400A
E20A
0000400C
55C2
0000400E
60FE
CPU32Bug>RM D0<CR>
Initialize D0 and set a breakpoint:
D0
=00000000 ? 52A9C.<CR>
CPU32Bug>BR 400E<CR>
BREAKFOINTS
0000400E
CPU32Bug>
Set PC to beginning of program, set temporary breakpoint, and start target code:
CPU32Bug>RM PC<CR>
PC
=0000400E ? 4000.<CR>
CPU32Bug>
M68CPU32BUG/D REV 1
Go To Temporary Breakpoint
MOVE.L
CLR.L
ADD.B
LSR.L
BNE.B
LSR.B
SCS
BRA.B
3-26
DEBUG MONITOR COMMANDS
D0,D1
D2
D1,D2
#$1,D1
$4004
#$1,D2
D2
$400E
GT

Advertisement

Table of Contents
loading

Table of Contents