Use Case: Loading Symbols for the Linux* Kernel

To load Linux* kernel symbols:

  1. Select File > Load/Unload Symbol File....
    The Load dialog box opens.
  2. Specify the "vmlinux" kernel image as the symbol file to load and click OK.

    Note

    Leave the "Offset" parameter blank, this will cause the debugger to use the offset that is encoded into the image to locate the executable code in target memory.

Once the symbol information is loaded the debugger refreshes and displays source code for the current execution point (if it is halted in kernel code).

For more complete information about compiler optimizations, see our Optimization Notice.