96
Chapter 5: Using Debuggers
Using the Green Hills Debugger
Go to the hpdemo subdirectory where you installed MULTI. Copy the
mbx800.lnk file to user.lnk.
You may need to edit the user.lnk file to place the program at a location
where target system memory is available.
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/default.bld and press ENTER.
•
Make sure the target button on the MULTI window says “PPC”.
•
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 make
sure that “Output DWARF on ELF targets” option is enabled.
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.
2
Connect MULTI to the emulation probe/module.
There are two ways to connect to the emulation probe/module:
•
In the Remote box in the MULTI Builder window, enter:
hpserv IP_address
OR
Summary of Contents for 16610A
Page 13: ...Contents 11 Glossary Index ...
Page 14: ...12 Contents ...
Page 15: ...13 1 Installing the Emulation Probe ...
Page 44: ...42 Chapter 1 Installing the Emulation Probe Updating Emulation Probe Firmware ...
Page 45: ...43 2 Installing the Emulation Module ...
Page 64: ...62 Chapter 2 Installing the Emulation Module Preparing for a Debugger ...
Page 65: ...63 3 Connecting to a Target System ...
Page 74: ...72 Chapter 3 Connecting to a Target System Making the Target System Connection ...
Page 76: ...74 Chapter 3 Connecting to a Target System Making the Target System Connection ...
Page 77: ...75 4 Configuring the Emulation Probe Module ...
Page 91: ...89 5 Using Debuggers ...
Page 119: ...117 6 Solving Problems ...
Page 149: ...147 7 Specifications and Characteristics ...
Page 153: ...151 8 Service Information ...
Page 166: ...164 Index ...