STREAMS/UX for the HP 9000 Reference Manual
134
Debugging STREAMS/UX Modules and Drivers
STREAMS/UX Debugging Tool
q_qinfo = 0x1f7924 q_pad1[2] = 00
q_first = 0x2156780 q_other = 0x21f7600
q_last = 0x2185800
q_next = 0x0
q_link = 0x0
q_ptr = 0x0029cc48
q_count = 22518
q_flag = 0x1120
QUSE
QOLD
QSYNCH
q_minpsz = 0
q_maxpsz = -1
q_hiwat = 0x8000
q_lowat = 0x4000
q_bandp = 0x0
q_nband = 0
q_pad1[0] = 00
q_pad1[1] = 00
This queue contains a non-zero q_first pointer. The m navigation key can be
used to look at the messages on the queue. This is shown below.
m
struct msgb 0x2156780 S:4
b_next = 0x204ac00
b_prev = 0x0
b_cont = 0x21fb700
b_rptr = 0x2242bf2
b_wptr = 0x2242bf2
b_datap = 0x0
b_band = 0
b_pad1 = 00
b_flag = 0x0
b_pad2 = 0
The m key displays the first message on the queue. The ? command shows
the navigation queues available for the message block data structure.
?
navigation for structure msgb
'n' = b_next (msgb)
'p' = b_prev (msgb)
'm' = b_rptr (b_rptr)
'c' = b_cont (msgb)
'd' = b_datap (datab)
-- Hit any key to continue --
The n key shows the next message on the queue.