STREAMS/UX for the HP 9000 Reference Manual

135
Debugging STREAMS/UX Modules and Drivers
STREAMS/UX Debugging Tool
n
struct msgb 0x204ac00 S:5
b_next = 0x21f4b00
b_prev = 0x218ee00
b_cont = 0x2198080
b_rptr = 0x223dc00
b_wptr = 0x223ddc3
b_datap = 0x204ac40
b_band = 0
b_pad1 = 00
b_flag = 0x0
b_pad2 = 0
The m key shows the data associated with this message block.
m
struct msgb 0x204ac00 Message data at 0x0223dc00 S:6
0x0223dc00 : 01491800 76777879 7a616263 64656667 |
.I..vwxyzabcdefg
0x0223dc10 : 68696a6b 6c6d6e6f 70717273 74757677 | hijklmnopqrstuvw
0x0223dc20 : 78797a61 62636465 66676869 6a6b6c6d | xyzabcdefghijklm
0x0223dc30 : 6e6f7071 72737475 76777879 7a616263 | nopqrstuvwxyzabc
0x0223dc40 : 64656667 68696a6b 6c6d6e6f 70717273 | defghijklmnopqrs
0x0223dc50 : 74757677 78797a61 62636465 66676869 | tuvwxyzabcdefghi
0x0223dc60 : 6a6b6c6d 6e6f7071 72737475 76777879 | jklmnopqrstuvwxy
0x0223dc70 : 7a616263 64656667 68696a6b 6c6d6e6f | zabcdefghijklmno
0x0223dc80 : 70717273 74757677 78797a61 62636465 | pqrstuvwxyzabcde
0x0223dc90 : 66676869 6a6b6c6d 6e6f7071 72737475 | fghijklmnopqrstu
0x0223dca0 : 76777879 7a616263 64656667 68696a6b | vwxyzabcdefghijk
0x0223dcb0 : 6c6d6e6f 70717273 74757677 78797a61 | lmnopqrstuvwxyza
0x0223dcc0 : 62636465 66676869 6a6b6c6d 6e6f7071 | bcdefghijklmnopq
0x0223dcd0 : 72737475 76777879 7a616263 64656667 | rstuvwxyzabcdefg
0x0223dce0 : 68696a6b 6c6d6e6f 70717273 74757677 | hijklmnopqrstuvw
0x0223dcf0 : 78797a61 62636465 66676869 6a6b6c6d | xyzabcdefghijklm
0x0223dd00 : 6e6f7071 72737475 76777879 7a616263 | nopqrstuvwxyzabc
0x0223dd10 : 64656667 68696a6b 6c6d6e6f 70717273 | defghijklmnopqrs
0x0223dd20 : 74757677 78797a61 62636465 66676869 | tuvwxyzabcdefghi
0x0223dd30 : 6a6b6c6d 6e6f7071 72737475 76777879 | jklmnopqrstuvwxy
Type c for more data
Any other key will quit this display
You can continue to type the c key to see the rest of the data. Enter a key
other than c to stop examining data.
Note that each time strdb displays a data structure, it pushes it onto a stack.
strdb saves structures on a stack so you can re-examine them later. strdb
increments and displays the stack depth. The depth appears in the upper
right hand corner of the screen as “S:depth.” In the current example, the
message data is on the top of the stack, and the depth is 6.