Reference: set
Author: Daniel Gilly & the Staff of O'Reilly & Associates
Date: 1998-08-06T22:02:18Z

#

| Chapter 20 Program Debugging |

## set

    set var [= expr]

Define value `expr` for variable `var`. See also unset. Built-in variables include:

$frame

  If set to an address, use the stack frame it points to. (Useful for kernel debugging.)

$hexitem

  When set, print hexadecimal values for specified `item`. `item` can be chars, ints, offsets, or strings.

$listwindow

  Default number of lines to show using list command (default is 10).

$mapaddrs

  When set, start mapping addresses; when unset, stop. (Useful for kernel debugging.)

$unsafecall

  When set, turn off type checking of parameters in call statements. Use with care.

$unsafeassign

  When set, turn off type checking in assign statements. Use with care.

Reference: save |  | Reference: setenv