User`s guide

Table Of Contents
3–6 Remote Debugging
Starting a Ladebug Session
3.7 Starting a Ladebug Session
The Debug Monitor ladebug command configures the motherboard as a remote
debugger target. Communication is performed through the Ethernet connection.
To debug a program running on a motherboard using Ladebug running on a remote
host, follow these steps:
1. Set up the host DIGITAL UNIX machine as described in Chapter 2.
2. Start the motherboard.
3. Load the program into memory on the motherboard.
4. Set a breakpoint in the program.
5. Execute the program. The program will stop at the breakpoint and print the
instruction line at that location.
6. Issue the ladebug command. This causes the motherboard to wait for a
connection from Ladebug.
7. From the host system, enter the command to start Ladebug and cause it to
connect to the motherboard.
The following example shows how to set up a sample session:
EB64> netload size
Ethernet Base Address: 360, DMA Mask: 1 = DRQ5
Init Block Address 100000
Init Done.
Ethernet BA-98-76-54-32-01
Attempting BOOTP...success.
my IP address: 16.123.45.67
server IP address: 16.123.45.69
gateway IP address: 16.123.45.69
Loading from /users/eval/boot/size ...
####
EB64> stop 200000
EB64> go
Executing at 0x200000...
00200000: 23DEFFF0 lda sp, -16(sp)
EB64> ladebug
Ethernet Base Address: 360, DMA Mask: 1 = DRQ5
Init Block Address 100000
Init Done.
Client connected : client is FFFFFFFFA0107F10