AT&T UNIX™PC Unix System V Users Manual - tenox
AT&T UNIX™PC Unix System V Users Manual - tenox AT&T UNIX™PC Unix System V Users Manual - tenox
I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I
ADB ( 1 ) ADB (l) NAME adb - absolute debugger SYNOPSIS adb [-w] [ objfil [ corfil ] ] DESCRIPTION Adb is a general purpose debugging program. It may be used to examine files and to provide a controlled environment for the execution of UNIX programs. Objfil is normally an executable program file, preferably containing a symbol table; if not then the symbolic features of adb cannot be used although the file can still be examined. The default for objfil is a.out. Corfil is assumed to be a core image file pro duced after executing objfil; the default for corfil is core. Requests to adb are read from the standard input and responses are to the standard output. If the -w flag is present then both objfil and corfil are created if necessary and opened for reading and writing so that files can be modified using adb . A db ignores QUIT; INTERRUPT causes return to the next adb command. In general requests to adb are of the form [ address ] [ , count ] [ command ] [ ; ] If address is present then dot is set to address. Initially dot is set to 0. For most commands count specifies how many times the command will be executed. The default count is 1. Address and count are expressions. The interpretation of an address depends on the context it is used in. If a subprocess is being debugged then addresses are interpreted in the usual way in the address space of the subprocess. For further details of address mapping see ADDRESSES. EXPRESSIONS The value of dot. + The value of dot incremented by the current increment. The value of dot decremented by the current increment. n The last address typed. integer Hexadecimal by default or if preceded by Ox; octal if preceded by Oo or 00; decimal if preceded by Ot or OT. integer. fraction A 32 bit floating point number. 1cccc 1 The ASCII value of up to 4 characters. A\ may be used to escape a '· < name The value of name, which is either a variable name or a 68010/68020 register name. Adb maintains a number of variables (see VA RIABLES) named by single letters or digits. If name is a register name then the value of the register is obtained from the system header in c orfil . The registers are dO through d7, aO through a.7, sp, pc, cc, - 1 -
- Page 119 and 120: TABLE OF CONTENTS 1. Comman ds and
- Page 121 and 122: Table of Contents mm o o o o o prin
- Page 123 and 124: Table of Contents fcntl . . file co
- Page 125 and 126: Table of Contents hypot • • •
- Page 127 and 128: ua • utmp 5. Miscellaneous Facili
- Page 129 and 130: PERMUTED INDEX /functions of HP 264
- Page 131 and 132: � \ paste: paste buffer utilities
- Page 133 and 134: stdipc: standard interprocess commu
- Page 135 and 136: file. delta: make a delta (change)
- Page 137 and 138: getenv: return value for environmen
- Page 139 and 140: ldohseek: seek to the optional file
- Page 141 and 142: cpio: format of cpio archive. dir:
- Page 143 and 144: getpw: get name rrom UID. . • set
- Page 145 and 146: abort: generate an semaphore set or
- Page 147 and 148: passwd: change login password. sett
- Page 149 and 150: operations. msgctl: message control
- Page 151 and 152: split: split a file into channel. t
- Page 153 and 154: generate e program cross reference.
- Page 155 and 156: stream. setbuf: assign buffering to
- Page 157 and 158: � Permuted Index /strcmp, strncmp
- Page 159 and 160: tsort: topologica.l sort. • . .
- Page 161 and 162: display editor based on/ vi, view:
- Page 163: INTRO ( 1) INTRO ( l ) NAME intro -
- Page 166 and 167: 300 ( 1 ) 300 ( 1 ) for C programs,
- Page 168 and 169: \�
- Page 172 and 173: ADB ( 1 ) ADB (l) sr, and usp. symb
- Page 174 and 175: ADB ( 1} ADB (l} " ••• " 0 Pr
- Page 176 and 177: ADB ( 1) ADDRESSES b d e m 8 t The
- Page 178 and 179: ADMIN ( 1) -t[name] -fflag b ADMIN(
- Page 180 and 181: ADMIN(l) ADMIN(l) make deltas (chan
- Page 182 and 183: ( � � . · � .
- Page 184 and 185: AR(l) AR (I) X Extract the named fi
- Page 186 and 187: AS (l) (AT&T UNIX PC Only ) AS (I)
- Page 188 and 189: ·� · ·. rl · (1
- Page 191 and 192: AWK (l) AWK (l) NAME awk - pattern
- Page 193: AWK (l) AWK(l) Add up first column,
- Page 196 and 197: f) .. .... ._ __ . ·
- Page 198 and 199: I� �� I J
- Page 200 and 201: BC(l) BC (l) l(x) log a(x) arctange
- Page 203 and 204: BDIFF(l) BDIFF ( 1 ) NAME bdiff - b
- Page 205 and 206: BFS (I) BFS(I) NAME bfs - big file
- Page 207 and 208: BFS (l) BFS (l) could be used to ma
- Page 209: CAL ( 1) CAL(l) NAME cal - print ca
- Page 212 and 213: ' ..
- Page 215 and 216: ;� CC ( l ) cc (1) NAME cc - C co
- Page 217: CC(l) /lib/crts.o /lib/mcrto.o /lib
ADB ( 1 ) ADB (l)<br />
NAME<br />
adb - absolute debugger<br />
SYNOPSIS<br />
adb [-w] [ objfil [ corfil ] ]<br />
DESCRIPTION<br />
Adb is a general purpose debugging program. It may be used to<br />
examine files and to provide a controlled environment for the execution<br />
of UNIX programs.<br />
Objfil is normally an executable program file, preferably containing<br />
a symbol table; if not then the symbolic features of adb cannot<br />
be used although the file can still be examined. The default<br />
for objfil is a.out. Corfil is assumed to be a core image file pro<br />
duced after executing objfil; the default for corfil is core.<br />
Requests to adb are read from the standard input and responses<br />
are to the standard output. If the -w flag is present then both<br />
objfil and corfil are created if necessary and opened for reading<br />
and writing so that files can be modified using adb . A db ignores<br />
QUIT; INTERRUPT causes return to the next adb command.<br />
In general requests to adb are of the form<br />
[ address ] [ , count ] [ command ] [ ; ]<br />
If address is present then dot is set to address. Initially dot is set<br />
to 0. For most commands count specifies how many times the<br />
command will be executed. The default count is 1. Address and<br />
count are expressions.<br />
The interpretation of an address depends on the context it is used<br />
in. If a subprocess is being debugged then addresses are interpreted<br />
in the usual way in the address space of the subprocess.<br />
For further details of address mapping see ADDRESSES.<br />
EXPRESSIONS<br />
The value of dot.<br />
+ The value of dot incremented by the current increment.<br />
The value of dot decremented by the current increment.<br />
n The last address typed.<br />
integer Hexadecimal by default or if preceded by Ox; octal if preceded<br />
by Oo or 00; decimal if preceded by Ot or OT.<br />
integer. fraction<br />
A 32 bit floating point number.<br />
1cccc 1 The ASCII value of up to 4 characters. A\ may be used<br />
to escape a '·<br />
< name The value of name, which is either a variable name or a<br />
68010/68020 register name. Adb maintains a number of<br />
variables (see VA RIABLES) named by single letters or<br />
digits. If name is a register name then the value of the<br />
register is obtained from the system header in c orfil . The<br />
registers are dO through d7, aO through a.7, sp, pc, cc,<br />
- 1 -