DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 
Using SCODB on SCO OpenServer 5

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:


© 2005 The SCO Group, Inc. All rights reserved.
OpenServer 6 and UnixWare (SVR5) HDK - June 2005