STREAMS/UX for the HP 9000 Reference Manual

133
Debugging STREAMS/UX Modules and Drivers
STREAMS/UX Debugging Tool
q_pad1[1] = 00
?
navigation for structure queue
'i' = q_qinfo (qinit)
'm' = q_first (msgb)
'z' = q_last (msgb)
'n' = q_next (queue)
'l' = q_link (queue)
'b' = q_bandp (qband)
'o' = q_other (queue)
-- Hit any key to continue --
After typing a key to continue, you can enter any of the keys shown in the
help text. For example, if you enter o, the stream head write queue will be
displayed. This is shown below.
o
struct queue 0x21f7b74 S:2
q_qinfo = 0x1f7a34 q_pad1[2] = 00
q_first = 0x0 q_other = 0x21f7b00
q_last = 0x0
q_next = 0x21f7674
q_link = 0x0
q_ptr = 0x21f7a00
q_count = 0
q_flag = 0x102a
QNOENB
QWANTR
QUSE
QSYNCH
q_minpsz = 0
q_maxpsz = -1
q_hiwat = 0x2800
q_lowat = 0x400
q_bandp = 0x0
q_nband = 0
q_pad1[0] = 00
q_pad1[1] = 00
At this point you can enter n to see the next write queue on the stream. Note
that strdb provides the same navigation keys for each queue structure.
Therefore, you can enter the same keys for the stream head write queue as
for the stream head read queue. An example of entering the n key is shown
below.
n
struct queue 0x21f7674 S:3