Skip to main content

Memory and Breakpoint Commands

Op-Code 4 - DEPOSIT (Process, Address, Count, Byte String)​

This instructs the PDP-11 to deposit the Count bytes in Byte String into the given process's address space beginning at Address. The PDP-11 should reply

DEPOSITED (Process, Address, Count)

if successful or

CAN'T DEPOSIT (Process, Address, Count)

if the deposit doesn't succeed, or the remote host isn't debugging the process.

Op-Code 5 - RESUME (Process)​

This instructs the PDP-11 to allow the given process to resume running. The PDP-11 should reply

RESUMED (Process)

before it starts the process (in case it traps right away), or

CAN'T RESUME (Process)

if the process wasn't stopped, or the remote host isn't debugging the process.

Op-Code 6 - EXAMINE (Process, Address, Count)​

This instructs the PDP-11 to return Count bytes from the given process address space starting at Address. The PDP-11 should reply

CONTENTS (Process, Address, Count, Byte String)

if it can supply the bytes, or

CAN'T EXAMINE (Process, Address, Count)

if all the bytes don't exist in the address space, or the remote host isn't debugging the process.

Op-Code 7 - DEPOSIT STATE VECTOR (Process, Index, Byte Count, Byte String)​

This instructs the PDP-11 to deposit the Byte Count bytes in Byte String into the state vector for the given process starting with byte Index. See Figure 2 for the format of the state vector. The PDP-11 should reply

DEPOSITED STATE VECTOR (Process, Index, Byte Count)

unless the bytes won't all fit in the state vector or the remote host isn't debugging the process. In this case the reply should be

CAN'T DEPOSIT STATE VECTOR (Process, Index, Byte Count)

Op-Code 10 - BREAK (Process, Address, Proceed Count)​

This instructs the PDP-11 to place a breakpoint at Address in the given process's address space, with a proceed count of Proceed Count. The proceed count can be changed by issuing another BREAK with a different count. The PDP-11 should reply

BROKE (Process, Address, Proceed Count)

if it was able to plant the breakpoint and

CAN'T BREAK (Proceed, Address, Proceed Count)

if it was unable to plant the breakpoint because the breakpoint tables for the process are full, or because the remote host isn't debugging the process. Note that the PDP-11 must keep track of where the breakpoints are, the old contents of these locations etc.

Op-Code 11 - UNBREAK (Process, Address)​

This instructs the PDP-11 to remove the breakpoint from Address in the process's address space and release all storage associated with it. The PDP-11 should reply

UNBROKE (Process, Address)

when the breakpoint is removed, or

CAN'T UNBREAK (Process, Address)

if the process doens't have a breakpoint at Address or the remote host isn't debugging the process.