export (idb mode only)

Set an environment variable or print all environment variables.

Syntax

export [varname [ = value]]

Parameters

varname

Name of the variable to be set or printed.

value

The value to assign to the variable.

Description

This command sets an environment variable or prints all environment variables. The export and setenv commands without any variables are equivalent.

setenv is similar to export, except that export requires the equal sign to set a value, while setenv does not.

Example

The following example sets the environment variable EDITOR to use vi editor.

(idb) export EDITOR /usr/bin/vi 

See Also


Submit feedback on this help topic

Copyright © 2001-2011, Intel Corporation. All rights reserved.