User`s manual
GD - Go Direct (Ignore Breakpoints)
3-60
3
GD - Go Direct (Ignore Breakpoints)
Command Input
GD [ADDR]
Description
The GD command starts target code execution. If an address is
specified, it is placed in the target IP. Execution starts at the target
IP address. Unlike GO, breakpoints are not inserted.
Once execution of the target code has begun, control may be
returned to the debugger by one of the following conditions:
❏ The abort or reset switch on the debugger host was pressed.
❏ An unexpected exception occurred.
Example
The following program resides at $20000.
PPC1-Bug>DS 20000:10 <Return>
00020000 3C600004 ADDIS R3,R0,$4
00020004 60631000 ORI R3,R3,$1000
00020008 7C641B78 OR R4,R3,R3
0002000C 3CA00005 ADDIS R5,R0,$5
00020010 60A51000 ORI R5,R5,$1000
00020014 3CC00000 ADDIS R6,R0,$0
00020018 90C40000 STW R6,$0(R4) ($00041000)
0002001C 38840004 ADDI R4,R4,$4
00020020 7F042840 CMPL CRF6,0,R4,R5
00020024 409AFFF4 BC 4,26,$00020018
00020028 38C60001 ADDI R6,R6,$1
0002002C 38E7FFFF ADDI R7,R7,$FFFFFFFF
00020030 7C641B78 OR R4,R3,R3
00020034 2B070000 CMPLI CRF6,0,R7,$0
00020038 409AFFE0 BC 4,26,$00020018
0002003C 00000000 WORD $00000000
PPC1-Bug>
Set breakpoint at $20028.