Up: GEOS SDK TechDocs | Up | Prev: fpstack ... | Next: getenv ...

func

func [<func name>]

Examples:

"func"
return the current function.
"func ObjMessage"
set the frame to the first frame for ObjMessage.

Get the current function or set the frame to the given function.

See Also: backtrace, up, down, finish.

fvardata

fvardata <token> [<address>]

Examples:

"fvardata ATTR_VIS_TEXT_STYLE_ARRAY *ds:si"

Locates and returns the value list for the data stored under the given token in the vardata of the given object.

fwalk

fwalk [<patient>]

Examples:

"fwalk"
list all open files.
"fwalk geos"
list all open files owned by the GEOS patient.

Print the list of files open anywhere in the system.

See Also: fhandle, geosfiles, sysfiles.

gc

gc [(off|register|<extensive-heap-checking-flag>]

Implements a simple garbage collector to scavenge unreferenced symbols and types. If given an argument other than "off" or "register," it turns on extensive heap checking, which slows things down enormously but ensures the heap is in good shape. The "gc register" command can be use to register a type created by "type make"as something that is being used for an extended period at the Tcl level, preventing the thing from being garbage-collected.

gentree

gentree [<address>] [<instance field>]

Examples:

"gentree"
print the generic tree starting at *DS:SI
"gentree -i"
print the generic tree under the mouse
"gentree [systemobj]"
print the generic tree starting at the system's root
"gentree @23 GI_states"
print the generic tree with generic states
"gentree *uiSystemObj"
start the generic tree at the root of the system

Print a generic tree.

See Also: gup, vistree, impliedgrab, systemobj, pobject.

geosfiles

geosfiles

Examples: "geosfiles"

Print out all the files for which I/O is currently pending in GEOS.

See Also: sysfiles, sftwalk, fwalk.

geos-release

This variable contains the major number of the version of GEOS running on the target PC.

geowatch

geowatch [<object>]

Examples:

"geowatch *MyObj"
Display geometry calls that have reached the object MyObj
"geowatch"
Display geometry calls that have reached *ds:si (asm) or oself (goc)

This displays geometry calls that have reached a particular object. Only one object at a time can be watched in this way.

See Also: objwatch, mwatch, cbrk, pobject.

get-address

Used by the various memory-access commands. Takes one argument, ADDR, being the address argument for the command. Typically, the command is declared as

[defcmd cmd {{addr nil}} ... ]

allowing the address to be unspecified. This function will return the given address if it was, else it will return the last-accessed address (stored in the global lastAddr variable as a 3-tuple from addr-parse) in the form of an address expression. If no address is recorded ( lastAddr is nil), the default-addr argument is used. If it is not specified then CS:IP will be used.

getcc

getcc <flag>

Examples:

"getcc c"
Get the carry flag.

Get a flag from the target machine.

See Also: setcc, clrcc, compcc.


Up: GEOS SDK TechDocs | Up | Prev: fpstack ... | Next: getenv ...