16.3 About loading an image on to the target

Before you can start debugging your application image, you must load the files on to the target. The files on your target must be the same as those on your local host workstation. The code layout must be identical, but the files on your target do not require debug information.

You can manually load the files on to the target or you can configure a debugger connection to automatically do this after a connection is established. Some target connections do not support load operations and the relevant menu options are therefore disabled.
After connecting to the target you can also use the Debug Control view menu entry Load... to load files as required. The following options for loading an image are available:
Load Image Only
Loads the application image on to the target.
Load Image and Debug Info
Loads the application image on to the target, and loads the debug information from the same image into the debugger.
Load Offset
Specifies a decimal or hexadecimal offset that is added to all addresses within the image. A hexadecimal offset must be prefixed with 0x.
Set PC to entry point
Sets the PC to the entry point when loading image or debug information so that the code runs from the beginning.
Figure 16-1 Load File dialog box
Load File dialog box

Related concepts
16.4 About loading debug information into the debugger
Related tasks
2.5 Configuring a connection to a Fixed Virtual Platform (FVP) model for Linux application debug
2.6 Configuring a connection to a Linux application using gdbserver
2.7 Configuring a connection to a Linux kernel
2.3 Configuring a connection to a bare-metal hardware target
2.10 Configuring an Events view connection to a bare-metal target
Related reference
11.6 Commands view
11.7 Debug Control view
Related information
DS-5 Debugger commands
Non-ConfidentialPDF file icon PDF versionARM DUI0446W
Copyright © 2010-2015 ARM. All rights reserved.