STREAMS/UX for the HP 9000 Reference Manual
130
Debugging STREAMS/UX Modules and Drivers
STREAMS/UX Debugging Tool
prints the commands for formatting these fields. A carriage return will clear
the help screen and redisplay the stream head read queue. In the example
below, the m key is entered to see the message block pointed to by q_first.
Next, a ? is entered to see which message block fields strdb can format.
qh tmx 1
struct queue 0x21f7600 S:1
q_qinfo = 0x1f7924 q_pad1[2] = 00
q_first = 0x2156780 q_other = 0x21f7600
q_last = 0x2185800
q_next = 0x0
q_link = 0x0
q_ptr = 0x267be8
q_count = 22518
q_flag = 0x1120
QUSE
QOLD
QSYNCH
q_minpsz = 0
q_maxpsz = -1
q_hiwat = 0x200
q_lowat = 0x100
q_bandp = 0x0
q_nband = 0
q_pad1[0] = 00
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 --
<carriage return>
struct queue 0x21f7600 S:1
q_qinfo = 0x1f7924 q_pad1[2] = 00
q_first = 0x2156780 q_other = 0x21f7600
q_last = 0x2185800
q_next = 0x0
q_link = 0x0
q_ptr = 0x267be8
q_count = 22518