module

Module commands.

module SUBCOMMAND [ARGS]

The FILE parameter of the module commands is a host or a target file path.

If the file path contains a space character, the whole file path must be enclosed by double quotes.

HOST FILE PATH A host file is a file which can be accessed by wrdbg through file system calls. File path may be relative (see “help cd” and “help pwd”), or absolute path.

All paths may be specified using forward slash (/) notation, even on Windows, where path normalisation is then used.

TARGET FILE PATH A target file path must be prepended with the “target:” prefix. In this case the target file system is accessed. Target file paths must use the forward slash (/) notation.

EXAMPLES module load target:/romfs/mymodule.o module load C:tempmymodule.o module load C:/temp/mymodule.o module load “C:my dirmy module.o” module load target:”/my dir/my module.o”

RESTRICTIONS The “module” subcommands are available for VxWorks 7 connections only.

List of module subcommands:

Type “help module” followed by module subcommand name for full documentation. Command name abbreviations are allowed if unambiguous.

module load – Load a module from FILE

Load a module.

module load FILE

  • FILE is the path of the module file to load on target.

See “help module” for a full description of what “FILE” stands for.

Some options can be specified when loading a module.

See “help set module load” for a full description of load options.

RESTRICTIONS The “module load” subcommand is available for VxWorks 7 connections only.

module unload – Unload a module FILE

Unload a module.

module unload FILE

  • FILE is the module ID or file name to unload. If it is a file name, it must be the file path as it appears in the “info module” command output (unless path contains space characters, in which case, it must be enclosed by double quotes).

See “help module” for a full description of what “FILE” stands for.

Some options can be specified when unloading a module.

See “help set module unload” for a full description of unload options.

RESTRICTIONS The “module unload” subcommand is available for VxWorks 7 connections only.