User`s guide

CPU32 Emulation 115
Chapter 7: Using the Emulator with a Debugger
Using the Green Hills debugger
follow these steps:
a
Prepare the executable.
Go to the 68000PC subdirectory where you installed MULTI. Copy the
default.lnk file to user.lnk.
b
Start MULTI.
On Unix, enter "multi".
On Windows, double-click the Green Hills icon.
c
Set up the MULTI software environment:
Replace the project default.bld (in the Builder dialog box next to the
project button) with hpdemo/ecs.bld and press ENTER.
Make sure the target button on the MULTI window says "cross 68".
In the Builder window, double-click ecs.bld.
The box next to the Debug button should display "ecs". The window should
list the names of the source code files.
d
In the Builder menu bar, select
Options
CPU
, then set the
processor type.
e
In the Builder menu bar, select
Options
Advanced
, and
select the default output mode.
f
Build the demo program:
In the Builder window, click the Build icon. (Or, in the menu bar, select
Build
Build All
.)
Close the Progress window when the "Build completed" message is
displayed.
g
Select
Options
Advanced
, and select the IEEE-695 output
mode to generate an IEEE-695 format file.
3
Connect MULTI to the emulator.
There are two ways to connect to the emulator:
In the Remote box in the MULTI Builder window, enter:
hpserv IP_address
OR