| |||
| Home > Debugging Your OS Application > Adding object search paths and mappings > Adding an object file mapping | |||
To add an object file mappings:
Select Set Source Search Path... from the Code window Debug menu. The Source Search and Mappings dialog box is displayed. An example is shown in Figure 7.8.
Select the Object Mapping tab. An example is shown in Figure 7.9.
Click New to display the New Mapping dialog box. An example is shown in Figure 7.10.
Specify the Original Path (that is, the path to the original object tree for the image). To do this, either:
enter the pathname in the field
click the open file button to locate the required file.
Specify the Mapped Path (that is, the path to the new object tree for the image). To do this, either:
enter the pathname in the field
click the open file button to locate the required file.
Click OK. The object mapping is added to the list of mappings.
If your object files are distributed between a number of directories, then repeat the previous steps for each directory.
When you have specified all the object mappings for the image, click OK to close the Source Search and Mappings dialog box.
The object mappings that you define are saved in a settings
file that is stored in the same location as the image. This file
has the same name as your image, and has the .apr file extension.
For example, if your image file is called image.axf image,
the settings file is called image.axf.apr. The
settings in this file are re-applied when you next load the image.