5.7.2. Locating a function using the Symbols view

To locate a function using the Symbols view:

  1. Connect to your target.

  2. Load the required image, for example dhrystone.axf.

  3. Click the Locate PC button on the Debug toolbar to view the source file that contains the PC scope (dhry_1.c in this example).

  4. Select View → Symbols from the Code window main menu to open the Symbols view. Figure 5.10 shows an example:

    Figure 5.10. Symbols view

    Symbols view

  5. Click the Functions tab to view the functions for the image. Figure 5.11 shows an example:

    Figure 5.11. Functions in the dhrystone.axf image

    Functions in the dhrystone.axf image

    Note

    You can use the Filter field to apply a filter on the complete list of functions. Enter the characters that are common to the required functions.

    For example, to list all functions that begin with the letter F, then enter *\*\F or *\*\f.

  6. Right-click on the function name to display the context menu. For example, right-click on the fclose function.

  7. Select View Disassembly from the context menu. The disassembly view changes to show the chosen function. Figure 5.12 shows an example:

    Figure 5.12. Navigate to a function

    Navigate to a function

Copyright © 2002-2011 ARM. All rights reserved.ARM DUI 0153N
Non-ConfidentialID052111