SCODB commands
After SCODB is invoked,
invoke the appropriate commands from the following list.
A list of supported commands is also available
from within SCODB;
use the ? or help command.
alias [word [new_command]]- 
Set or list command aliases
 
bc [* | address | DRn | name ]- 
Clear breakpoint
 
bl [name]- 
List breakpoints
 
bp [en|dis|mod|name| [rwi] [b|s|l] |x] addr [condition value ]- 
Set breakpoints
 
c|cb|cs|c1 address- 
Change memory
 
d|db|ds|dl|dn address- 
Dump memory
 
declare|dcl C_declaration- 
Give a system variable a type
 
dis|u [exact] [mode [ [-]names...] | address- 
Disassemble (unassemble)
 
editmode|edit|em [emacs|vi]- 
Change the editing mode
 
info expression- 
Get low-level information about an expression.
 
quitif expression- 
If (expression), then quit.
 
r|R [ stack_addr -p pid -p proc_addr- 
Display system or user registers
 
s|step -r- 
Single-step
 
stack|b|B [ stack_addr -p pid -p proc_addr- 
Stack backtrace
 
struct [-> member] [members] addr- 
Show structure member values
 
symname|sym address- 
Find symbol corresponding to an address.
 
tfe [depth]- 
Trace function entry
 
type expression- 
Show type of expression
 
unalias [*|aliases]- 
Unset alias
 
undeclare|undcl [*|variables...|- 
Undeclare system variables
 
unvar [*|variables...]- 
Remove debugger variables
 
var [name initvalue]- 
Create and list debugger variables
 
The following SCODB commands cannot be run
from the user-level
scodb(ADM)
command:
bc, bl, bp, quitif,
step, and tfe.
Note the following about issuing commands:
- 
Errors made while entering a command line
can be corrected.
Use <Del> to kill the input line,
or <Bksp> to correct the error.
 - 
Some commands, such as bp,
use the SCODB editing facilities
for input on several lines at once.
When using the vi edit mode,
editing is entered in insert mode if the list is empty
and in command mode if the list is not empty.
 - 
Commands can be aliased.  See
``Command aliasing''.
 
© 2003 Caldera International, Inc.  All rights reserved.
SCO OpenServer Release 5.0.7 -- 11 February 2003