Linux Kernel Modules Window

Display all actively loaded and running Linux* kernel modules.

Menu

View > Linux Modules

Toolbar

Linux Modules

The Linux Kernel Modules window displays various information about each Linux* kernel module. Also, it displays the symbol file for the debug information loaded for each kernel module, if any symbol information was provided to the debugger.

The window consists of a list of modules with the following columns:

Name Value Definition
Watched Icon Indication whether this module is on the watchlist.
Module Name String Name of the loaded module (without .ko/.o extension).
Module Status String "Loaded" if the module was inserted on the target; "Waiting for load" if the module is on the watchlist and was not yet inserted on the target.
Break On Init YES or NO Stop at the module's initialization (init) function if it does exist.
Core Section N/A or address range Address range where the module's core sections reside, this means everything not marked as contributing to the init section. If the module is not loaded yet, this field remains empty.
Init Section N/A or address range Address range where the module's init sections reside. If the module is not loaded yet, does not have an init section, or is already in a post-init state, this field will be empty.
Symbol File N/A or or filename If debug information for this module is loaded, this field gives the name of the symbol file. If no debug information for this module is loaded, this field remains empty.

Note

This window is only available when the Linux* Kernel OS-Awareness plug-in, plg-linux-jtag.dll (on Windows*) or libguiialin.so (on Linux*), was loaded in the debugger. On the target, the kernel module xdbntf.ko must be running.

Pop-up Menu

Add new module to watchlist

Opens the Module Settings dialog box where you can add a module to the watchlist that is not yet loaded on the target and therefore does not appear in the module list of the Linux Kernel Modules window. Enter the name of the kernel module without .ko extension and check the Break at Init option, if desired.

Add selected module to watchlist

Opens the Module Settings dialog box where you can add the currently selected module to the watchlist. The module name is already given. You can check the Break at init option, if desired.

Remove selected module from watchlist

Removes the currently selected module from the watchlist. The debugger will never halt the target when the init function is executed for modules that are not on the watchlist. So if Break at Init was checked for this module previously, the debugger won't halt the target anymore when the module's init function is executed.

Remove all modules from watchlist

Removes all modules from the watchlist. The debugger will never halt the target when the init function is executed for modules that are not on the watchlist. When you remove modules from the watchlist, the option Break at Init for these modules will be ignored. This means, the debugger will not halt the target anymore when one of these modules' init function is executed.

Break at init function of selected module

This checkbox item specifies the debugger's behavior for the selected module. When this option is checked, the debugger will halt the target upon entering the init function of the selected module. If the option is not checked, the debugger will only update the Linux Kernel Modules window and continue the target.

Specify symbol file for selected module...

Opens a file browser dialog box where you can locate a symbol file to be loaded for the currently selected module. This will also implicitly add the path to the specified symbol file to the debugger's global source directories list.

Unload symbol file for selected module

Unloads any debug information for the currently selected module. This will not change the debugger's source directory list.

Trigger reset actions

Triggers actions the plugin would take when the target is reset. This includes clearing the whole list of modules that are known by the debugger to be running on the target and unloading debug information for all these modules. The next time the debugger notifies the target agent xdbntf, it will retrieve a fresh list of all modules loaded.

Copy

Copies the current line to the clipboard.

Copy All

Copies all selected lines to the clipboard.

Select All

Selects all lines.

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