kdb_set

Langue: en

Version: 251315 (debian - 07/07/09)

Section: 1 (Commandes utilisateur)

NAME

env, set - Environment manipulation commands

SYNOPSIS

env

set environment-variable=value

DESCRIPTION

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 id command to the value 100.