Up: GEOS SDK TechDocs | Up | Prev: car ... | Next: dbrk ...

continue-patient

continue-patient

Examples:

"continue-patient"
Allow the target machine to continue executing GEOS.

Tell the Swat stub to let the target machine continue where it left off.

This command does not wait for the machine to stop again before it returns; once the machine is running, you're free to do whatever you want, whether it's calling "wait" or examining memory periodically.

See Also: step-patient.

cup

cup <class>
cup <object>
cup <flags>

Examples:

"cup ui::GenDocumentControlClass"
Print class hierarchy of named class
"cup ^l2850h:0034h"
Print class hierarchy of object
"cup -f"
Print class hierarchy of focus object
"cup -p"
Print class hierarchy of process

Walks up the class hierarchy, starting at a given class, printing each class encountered. May be passed an object, in which case the class of the object will be used as a starting place.

current-level

current-level

Examples:

"var l [current-level]"
Store the current interpreter nesting level in $l.

Returns the number of invocations of "top-level" (i.e. the main command input loop) currently active.

See Also: top-level.

current-registers

current-registers

Examples:

"current-registers"
Returns a list of the current registers for the current thread.

Returns all the registers for the current thread as a list of decimal numbers.

cvtrecord

cvtrecord <type> <number>

Examples:

"cvtrecord [symbol find type HeapFlags] 36"
Return a value list for the number 36 cast to a HeapFlags record.

Creates a value list for a record from a number, for use in printing out the number as a particular record using fmtval.

See Also: value, fmtval, expr, getvalue.

cycles

Count instruction cycles from now until the given address is reached. Prints out each instruction as it is executed, along with the cycles it took. If no address is given, executes until a breakpoint is hit. Takes the following (optional) flags:

-r
Print routines called, the total cycles for each routine, and a running total, not the cycles for each instruction.
-i
Same as -r, but indents to show calling level. Not recommended for counting cycles over deeply nested routines.
-I
Same as -i, except uses (#) to indicate call level
-f
Stop counting when this routine finishes
-n
Does not whine about interrupts being off
-x < routine >
Step over calls to <routine>
-x < routine >=< val >
Step over calls to <routine> and assume that the call takes <val> cycles for timing purposes

See Also: timingProcessor.


Up: GEOS SDK TechDocs | Up | Prev: car ... | Next: dbrk ...