kdb_env1
Environment manipulation commands
Usage
env
set environment-variable=value
Overview
The kernel debugger contains an environment which contains a series of name-value pairs. Some environment variables are known to the various kernel debugger commands and have specific meaning to the command; such are enumerated on the respective reference material.
Arbitrary environment variables may be created and used with many commands (those which require an address-expression).
The env command is used to display the current environment.
The set command is used to alter an existing environment variable or establish a new environment variable.
Limitations
There is a compile-time limit of 33 environment variables.
There is a compile-time limit of 512 bytes (KDB_ENVBUFSIZE) of heap space available for new environment variables and for environment variables changed from their compile-time values.
Environment
These commands explicitly manipulate the environment.
SMP considerations
None.
User settings
You can include "set" commands in kdb/kdb_cmds (see kdb.mm) to define your environment variables at kernel startup.
Examples
env
|
Display current environment settings. |
|---|---|
set IDCOUNT=100
|
Set the number of lines to display for the |
Releases
5 releases since Debian 2.2 (Potato); the text changed 1 time.