adb.1 (2010 09)

a
adb(1) adb(1)
pspec This is available only for the
printf-style format string. It is a sequence of flags, fieldwidth and
precision as in the printf (3S) library function.
size specifier character
This specifies the size of object to which this is applied. Size can be specified in two ways. One is
using absolute size specifier and other is relative size specifier. Absolute size specifiers are as fol-
lows.
b The size of the object is 1 byte.
e The size of the object is 2 bytes.
g The size of the object is 4 bytes.
j The size of the object is 8 bytes.
k The size of the object is 16 bytes.
Relative size specifiers are as follows
w The size of the object is the size of a machine word of the target processor.
h The size of the object is half the size of a machine word of the target processor.
l The size of the object is double the size of a machine word of the target processor.
n The size of the object is the size of a pointer on the target processor. This will be different for
wide files and narrow files.
m The size of the object is the size of an instruction of the target processor. This will be sup-
ported only on processors where this is constant.
Conversion Specifier Character
The following characters are supported
a The value of dot is printed in symbolic form.
c The object is printed as a character.
o The object is printed as an unsigned octal number.
d The object is printed as a signed decimal number.
u The object is printed as an unsigned decimal number.
i The object is disassembled as an instruction and printed.
f The object is printed in a floating point format according to its size.
p The object is printed in symbolic form.
s The object is assumed to be a null terminated string and printed. This cannot be used to
print dot.
y The object is cast to type time_t and printed in the ctime (3C) format.
Here the
printf-style format strings support only c, o, d, u, x, f, and s. If the size specifier
character is not specified, it is assumed to be b for conversion character c; w for conversion char-
acters d, u, x, o, and f; m for i; sizeof(time_t) for y; and
w for everything else.
For example.
10=2bo, ’abc’=,"%s", main?4i
2. Dot Operator
A dot operator consists of an optional count , optional size specifier character , and a dot operator charac-
ter .
count count specifies the number of times this dot operator is to be repeated. If not specified, count
is assumed to be 1. The count is always 1 for
printf-style format strings.
Size Specifier Character
Same as size specifier character of conversion specifier.
Dot operator character
This can be one of these
v Increment dotincr by count times size.
HP-UX 11i Version 3: September 2010 9 Hewlett-Packard Company 9