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 | cl 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 [ [-]name...]] | address-
Disassemble (unassemble)
newterm [device driver name | device unit number]-
Switch control of kernel debugger from console to serial terminal and vice versa.
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 [ 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.
type expression | symbol-
Show type of expression or symbol
unalias alias...-
Unset alias
undeclare | undcl [* | variable...]-
Undeclare system variables
unvar [*|variable...]-
Remove debugger variables
var [name initvalue]-
Create and list debugger variables
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''.
© 2005 The SCO Group, Inc. All rights reserved.
OpenServer 6 and UnixWare (SVR5) HDK - June 2005