> 
> We can see write queue 0x3000a1733a8 has some data, then I want to print
> the contents:
> 
> > 0x3000a1733a8::print queue_t q_first |::list mblk_t b_next
> 30005bafbc0
> 30005b9b500
> 30005717e60
> 30005722ae0
> 30034426fc0
> 30005712380
> ......
> 
> > 0x3000a1733a8::print queue_t q_first |::list mblk_t b_next|::print
> mblk_t b_rptr|::dump

You can do something like this:

0x3000a1733a8::print queue_t q_first | ::walk b_next|::walk b_cont| ::print 
mblk_t b_rptr | /s

This will walk all b_cont chains of every mblock on the b_next chain and
print ASCII characters in their b_rptr part.

- Alexander Kolbasov.

Reply via email to