Up: GEOS SDK TechDocs | Up | Prev: showcalls ... | Next: stdpaths ...

smatch

Look for symbols of a given class by pattern. First argument <pattern> is the pattern for which to search (it's a standard Swat pattern using shell wildcard characters). Optional second argument <class> is the class of symbol for which to search and is given directly to the "symbol match" command. Defaults to "any".

sort

sort [-r] [-n] [-u] <list>

Examples:

"sort -n $ids"
Sorts the list in $ids into ascending numeric order.

This sorts a list into ascending or descending order, lexicographically or numerically.

See Also: map, foreach, mapconcat.

spawn

spawn <processName> [<addr>]

Set a temporary breakpoint in a not-yet-existent process/thread, waiting for a new one to be created. First argument is the permanent name of the process to watch for. Second argument is an address expression specifying where to place the breakpoint. If no second argument is present, the machine will be stopped and Swat will return to the command level when the new thread is spawned by GEOS.

srcwin

srcwin <numLines>

Examples:

"srcwin 6"
Show 6 lines of source context around CS:IP
"srcwin 0"
Show no source lines, i.e. turn the display off.

Set the number of lines of source code to be displayed when the target machine stops.

See Also: display, regwin.

sstep

sstep [<default command>]

Examples:

"ss"
enter source step mode
"sstep n"
enter source step mode, <ret> does a next command

Step through the execution of the current patient by source lines. This is THE command for stepping through high-level (e.g., C) code.

See Also: istep, listi.


Up: GEOS SDK TechDocs | Up | Prev: showcalls ... | Next: stdpaths ...