DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 
Using SCODB on SVR5

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:


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