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
SDB ( 1 ) SDB ( 1) by the length specified l, or if no length is given, by the size associated with the variable. If a count specifier is used for the s or a. command, then that many characters are printed. Otherwise successive characters are printed until either a null byte is reached or 128 characters are printed. The last variable may be redisplayed with the command • f. The sh(1) metacharacters • and ? may be used within procedure and variable names, providing a limited form of pattern matching. If no procedure name is given, both variables local to the current procedure and global variables are matched; if a procedure name is specified then only variables local to that procedure are matched. To match only global variables, the form :pattern is used. linenumber?lm variable:?lm Print the value at the address from a..out or I space given by linenumber or variable (procedure name), according to the format lm . The default format is 'i'. variable =lm linenumber=lm number=lm Print the address of variable or linen umber, or the value of number, in the format specified by lm . If no format is given, then lx is used. The last variant of this command provides a convenient way to convert between decimal, octal and hexadecimal. variable !value Set variable to the given value . The value may be a number, character constant or a variable. The value must be well defined; expressions which produce more than one value, such as structures, are not allowed. Character constants are denoted 'character. Numbers are viewed as integers unless a decimal point or exponent is used. In this case, they are treated as having the type double. Registers are viewed as integers. The variable may be an expression which indicates more than one variable, such as an array or structure name. If the address of a variable is given, it is regarded as the address of a variable of type int. C conventions are used in performing any type conversions necessary to perform the indicated assignment. f Print the 68881 floating-point registers. X Print the machine registers and the current machinelanguage instruction. X Print the current machine-language instruction. The commands for examining source files are: e procedure e file-name e directory/ - 4- 1 I
SDB ( 1) SDB ( 1) e directory file-name The first two forms set the current file to the file containing procedure or to file-name . The current line is set to the first line in the named procedure or file. Source files are assumed to be in directory . The default is the current working directory. The latter two forms change the value of directory . If no procedure, file name, or directory is given, the current procedure and file names are reported. I regular expression I Search forward from the current line for a line containing a string matching regular expression as in ed(l). The trailing I may be omitted. ?regular expression? Search backward from the current line for a line containing a string matching regular expression as in ed(l). The trailing ? may be deleted. p Print the current line. z Print the current line followed by the next 9 lines. Set the current line to the last line printed. w Window . Print the 10 lines around the current line. number Set the current line to the given line number. Print the new current line. count+ Advance the current line by count lines. Print the new current line. count- Retreat the current line by count lines. Print the new current line. The commands for controlling the execution of the source program are: count r args count R Run the program with the given arguments. The r command with no arguments reuses the previous arguments to the program while the R command runs the program with no arguments. An argument beginning with < or > causes redirection for the standard input or output, respectively. If count is given, it specifies the number of breakpoints to be ignored. linenumber c count linenumber C count Continue after a breakpoint or interrupt. If count is given, it specifies the number of breakpoints to be ignored. C continues with the signal which caused the program to stop and c ignores it. If a linenumber is specified then a temporary breakpoint is placed at the line and execution is continued. This temporary breakpoint is deleted when the command - 5-
- Page 452 and 453: � ', y n \,..._ --
- Page 454 and 455: NL(l) NL(l) -ssep Sep is the charac
- Page 456 and 457: NM (l) FILES NM ( l ) -V Print the
- Page 459 and 460: NROFF(l) NROFF(l) NAME nroff - form
- Page 461 and 462: OD (1) OD (1) NAME od - octal dump
- Page 463 and 464: PACK ( 1) PACK( l ) NAME pack, peat
- Page 465: PASSWD ( l ) PASSWD ( l ) NAME pass
- Page 468 and 469: PASTE (l) PASTE (l) pr(l): pr -t -
- Page 471 and 472: PR (l) PR (l) NAME pr - print files
- Page 473 and 474: PROF ( 1) PROF ( 1) NAME prof - dis
- Page 475 and 476: PRS ( l ) PRS ( l ) NAME prs - prin
- Page 477 and 478: PRS ( 1 ) PRS ( 1 ) TABLE 1 (Contin
- Page 479 and 480: PS ( l ) PS ( l ) NAME ps - report
- Page 481: PS (l) PS (l) WCHAN (1) The event f
- Page 484 and 485: PTX ( 1) PTX ( 1) SEE ALSO nroff( l
- Page 487 and 488: REGCMP ( 1 ) REGCMP (l) NAME regcmp
- Page 489: RM ( l ) RM (l) NAME rm, rmdir - re
- Page 492 and 493: I�
- Page 495: SCCSDIFF ( 1 ) SCCSDIFF ( 1 ) NAME
- Page 499 and 500: SDB ( l ) SDB ( 1) NAME sdb - symbo
- Page 501: � I SDB ( 1) SDB ( 1) file may ov
- Page 505 and 506: SDB ( 1 ) SDB ( 1 ) execution. B Pr
- Page 507: SDB ( 1 ) SDB ( 1 ) WARNINGS BUGS W
- Page 510 and 511: SDIFF ( 1) SDIFF(l) On exit from th
- Page 512 and 513: SED ( 1) SED ( 1) In the following
- Page 515 and 516: SETPRINT ( 1 ) SETPRINT ( 1 ) NAME
- Page 517 and 518: -� SH ( l ) NAME SH ( l ) sh, rsh
- Page 519 and 520: SH ( 1 ) SH(l) positional parameter
- Page 521 and 522: SH ( 1 ) word >> word
- Page 523 and 524: SH ( 1 ) SH ( 1) cd [ arg ] Change
- Page 525 and 526: SH (l) SH (l) Invocation . If the s
- Page 527 and 528: SHFORM (I) {AT&T UNIX PC only ) SHF
- Page 529 and 530: ( \ SHFORM(I) (AT&T UNIX PC only )
- Page 531 and 532: SIZE ( 1 ) SIZE ( 1) NAME size - pr
- Page 533: �· ! SLEEP (I) SLEEP (I) NAME sl
- Page 536 and 537: SORT(l) SORT(l) 0 The next argument
- Page 538 and 539: SPELL {l) SPELL (l) FILES spellin s
- Page 540 and 541: n__
- Page 543 and 544: STTY ( 1) STTY(l) NAME stty - set t
- Page 545: STTY ( 1) lfkc ( -lfkc) echonl ( -e
- Page 548 and 549: �· ·· .... . _ .....
- Page 550 and 551: �- . .�
SDB ( 1 ) SDB ( 1)<br />
by the length specified l, or if no length is given, by the size<br />
associated with the variable. If a count specifier is used for<br />
the s or a. command, then that many characters are printed.<br />
Otherwise successive characters are printed until either a<br />
null byte is reached or 128 characters are printed. The last<br />
variable may be redisplayed with the command • f.<br />
The sh(1) metacharacters • and ? may be used within procedure<br />
and variable names, providing a limited form of pattern<br />
matching. If no procedure name is given, both variables<br />
local to the current procedure and global variables are<br />
matched; if a procedure name is specified then only variables<br />
local to that procedure are matched. To match only global<br />
variables, the form :pattern is used.<br />
linenumber?lm<br />
variable:?lm<br />
Print the value at the address from a..out or I space given<br />
by linenumber or variable (procedure name), according to<br />
the format lm . The default format is 'i'.<br />
variable =lm<br />
linenumber=lm<br />
number=lm<br />
Print the address of variable or linen umber, or the value of<br />
number, in the format specified by lm . If no format is<br />
given, then lx is used. The last variant of this command<br />
provides a convenient way to convert between decimal, octal<br />
and hexadecimal.<br />
variable !value<br />
Set variable to the given value . The value may be a<br />
number, character constant or a variable. The value must<br />
be well defined; expressions which produce more than one<br />
value, such as structures, are not allowed. Character constants<br />
are denoted 'character. Numbers are viewed as<br />
integers unless a decimal point or exponent is used. In this<br />
case, they are treated as having the type double. Registers<br />
are viewed as integers. The variable may be an expression<br />
which indicates more than one variable, such as an array or<br />
structure name. If the address of a variable is given, it is<br />
regarded as the address of a variable of type int. C conventions<br />
are used in performing any type conversions necessary<br />
to perform the indicated assignment.<br />
f Print the 68881 floating-point registers.<br />
X Print the machine registers and the current machinelanguage<br />
instruction.<br />
X Print the current machine-language instruction.<br />
The commands for examining source files are:<br />
e procedure<br />
e file-name<br />
e directory/<br />
- 4-<br />
1<br />
I