7.6.2. Adding an object file mapping

To add an object file mappings:

  1. 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.

    Figure 7.8. Object Search Path tab

    Object Search Path tab
  2. Select the Object Mapping tab. An example is shown in Figure 7.9.

    Figure 7.9. Object Mapping tab

    Object Mapping tab
  3. Click New to display the New Mapping dialog box. An example is shown in Figure 7.10.

    Figure 7.10. New Mapping dialog box

    New Mapping dialog box
  4. 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.

  5. 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.

  6. Click OK. The object mapping is added to the list of mappings.

  7. If your object files are distributed between a number of directories, then repeat the previous steps for each directory.

  8. 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.

Copyright © 2006, 2007 ARM Limited. All rights reserved.ARM DUI 0323B
Non-Confidential