STREAMS/UX for the HP 9000 Reference Manual
160
Debugging STREAMS/UX Modules and Drivers
STREAMS/UX Debugging Tool
The user wonders if this is a valid message block. The fields seem to contain
correct values. The user checks the data by entering the m key.
m
struct msgb 0x5fb600 Message data at 0x00599400 S:7
0x00599400 : 00000000 00000000 00000005 00000000 | ................
0x00599410 : 00000294 0000070c 6d6e6f70 71727374 | ........mnopqrst
0x00599420 : 75767778 797a6162 63646566 6768696a | uvwxyzabcdefghij
0x00599430 : 6b6c6d6e 6f707172 73747576 7778797a | klmnopqrstuvwxyz
0x00599440 : 61626364 65666768 696a6b6c 6d6e6f70 | abcdefghijklmnop
0x00599450 : 71727374 75767778 797a6162 63646566 | qrstuvwxyzabcdef
0x00599460 : 6768696a 6b6c6d6e 6f707172 73747576 | ghijklmnopqrstuv
0x00599470 : 7778797a 61626364 65666768 696a6b6c | wxyzabcdefghijkl
0x00599480 : 6d6e6f70 71727374 75767778 797a6162 | mnopqrstuvwxyzab
0x00599490 : 63646566 6768696a 6b6c6d6e 6f707172 | cdefghijklmnopqr
0x005994a0 : 73747576 7778797a 61626364 65666768 | stuvwxyzabcdefgh
0x005994b0 : 696a6b6c 6d6e6f70 71727374 75767778 | ijklmnopqrstuvwx
0x005994c0 : 797a6162 63646566 6768696a 6b6c6d6e | yzabcdefghijklmn
0x005994d0 : 6f707172 73747576 7778797a 61626364 | opqrstuvwxyzabcd
0x005994e0 : 65666768 696a6b6c 6d6e6f70 71727374 | efghijklmnopqrst
Type c for more data
Any other key will quit this display
The user knows that this is the data the test program sends. The user
wonders what is in the next message. To see the next message, the user
enters a key other than c to stop viewing data. Then, the user pops back to
the data's message block.
^P
struct msgb 0x5fb600 S:6
b_next = 0x5fb700
b_prev = 0x0
b_cont = 0x5fb680
b_rptr = 0x599400
b_wptr = 0x5996ac
b_datap = 0x5fb640
b_band = 0
b_pad1 = 00
b_flag = 0x0
b_pad2 = 0
Next the user enters the n key to see the next message block.
n
struct msgb 0x5fb700 S:7
b_next = 0x5fb800
b_prev = 0x0
b_cont = 0x5fb780
b_rptr = 0x599800