Next: , Previous: , Up: Dot-Commands   [Contents][Index]


23.13 .info

The .info command provides information about several kinds of entities. The recognized sub commands are:

.info ios

Display a list of open files.

(poke) .info ios
  Id	Type	Mode	Bias		Size		Name
  1	FILE	r	0x00000000#B	0x0000df78#B	foo.o
* 0	FILE	rw	0x00000000#B	0x00000022#B	foo.bson

The file acting as the current IO space is marked with an asterisk character * at the beginning of the file. The mode in which the file is open is also specified. The Id field is the tag of the file that can be passed to the .file command in order to switch to it as the new current IO space:

(poke) .ios 1
The current file is now `foo.o'.
(poke) .info ios
  Id	Type	Mode	Bias		Size		Name
* 1	FILE	r	0x00000000#B	0x0000df78#B	foo.o
  0	FILE	rw	0x00000000#B	0x00000022#B	foo.bson
.info variables [regexp]

Shows a list of defined variables along with their current values and the location where the variables were defined. If a regular expression is provided then only the types whose name match the expression are listed. If a regular expression is provided then only the types whose name match the expression are listed.

.info functions [regexp]

Shows a list of defined functions along with their prototypes and the location where the functions were defined. If a regular expression is provided then only the types whose name match the expression are listed. If a regular expression is provided then only the types whose name match the expression are listed.

.info types [regexp]

Shows a list of defined types along with the locations where the types were defined. If a regular expression is provided then only the types whose name match the expression are listed.

.info type expr|type_specifier

Prints a description of the type of the expression expr, or of the type with specifier with name type_specifier.


Next: , Previous: , Up: Dot-Commands   [Contents][Index]