Go to main content

Oracle® Solaris Modular Debugger Guide

Exit Print View

Updated: January 2019
 
 

Kernel Runtime Link Editor Debugging Support (krtld)

This section describes the debugging support for the kernel runtime link editor, which is responsible for loading kernel modules and drivers.

Kernel Runtime Link Editor Dcmds

[ address ] ::modctl

Print the specified modctl, or a table of the active modctl structures in the kernel.

address ::modhdrs

Given the address of a modctl structure, print the module's ELF executable header and section headers.

::modinfo

Print information about the active kernel modules, similar to the output of the /usr/sbin/modinfo command.

Kernel Runtime Link Editor Walkers

modctl

Walk the list of active modctl structures in the kernel. This structure is defined in <sys/modctl.h>.