Tru64 UNIX
Ladebug Debugger Manual


Previous Contents Index


(ladebug) alias x "set $lang=\"C++\" " 
(ladebug) alias x  
x       set $lang="C++" 
(ladebug) 


(ladebug) alias ada "ignore sigalrm; ignore sigfpe; set $lang=\"Ada\";" 
(ladebug) alias ada
ada     ignore sigalrm; ignore sigfpe; set $lang="Ada"; 
(ladebug) 

Note that in the first example there is a space between the last two quotation marks. In the second example there is a semicolon. The two quotation marks cannot be together; they must be separated by a space or character(s).
Invoke the alias by entering the alias name, including an argument if the alias definition specified an argument.
Use the unalias command to delete an alias.
Alias commands cannot contain more than 56 arguments.
The following predefined aliases are included with the debugger:


S       next 
Si      nexti 
W       list $curline - 10:20 
a       assign 
att     attach 
b       stop at 
bp      stop in 
c       cont 
d       delete 
det     detach 
e       file 
f       func 
g       goto 
h       history 
j       status 
l       list 
li      ($curpc)/10i; set $curpc = $curpc + 40 
n       next 
ni      nexti 
p       print 
pd      printf "%d", 
pi      playback input 
plist   show process all 
po      printf "0%o", 
pr      printregs 
ps      printf "%s", 
px      printf "0x%lx", 
q       quit 
r       rerun 
ri      record input 
ro      record output 
s       step 
si      stepi 
sw      switch 
switch  process 
t       where 
tlist   show thread all (show thread when the kernel debugging option is used) 
ts      where thread all 
tset    thread (only defined during kernel debugging) 
tstack  where thread all 
u       list $curline - 9:10 
w       list $curline - 5:10 
wi      ($curpc - 20)/10i 
wm      watch memory 
wv      watch variable 
 

assign target = expression


attach process_id image_file


call function([parameter])


catch [signal]


catch unaligned


class [classname]
class classname::(type signature)
class classname ::(type signature)


cont [signal] [to linenumber] [in function]


delete integer [,...]
delete all
delete *


delsharedobj shared_object


detach [process_id_list]


disable integer [,...]
disable all
disable *


down [number]


dump [function]
dump.


enable integer [,...]
enable all
enable *


export [env_variable [= value]]


file [filename]


func [function]
func [integer]


goto linenumber


help [command] [ladebug]


history [integer]


ignore [signal]


ignore unaligned


kill


kps


list startline [,endline]
list startline [:count]
list function


listobj


load [image_file [core_file]]
unload process_id_list
unload image_file


next [expression]


nexti [expression]


patch expression1 = expression2


playback input filename


pop [number_of_frames]


print expression [,...]
print @expression


printenv [env_variable]



printregs


process [process_id | image_file | debugger_variable]


quit


readsharedobj shared_object


record input filename
record output filename
record io filename


return [function]


run [program_arguments] [io_redirection]
rerun [program_arguments] [io_redirections]


set [variable = definition]
unset variable


setenv [env_variable [value]]


sh command [argument ...]