On Mon, Jun 15, 2009 at 10:28:31AM -0700, Jonathan Adams wrote: > On Thu, Jun 11, 2009 at 01:52:54AM -0500, rickey c weisner wrote: > > I have a unnamed linked list data structure that looks like: > > > > { > > void * next; > > char data[80]; > > } > > > > I want to walk the list of pointers. > > > > ::list should be able to do the walk if I had a type. > > addr::list $[0] > > should do it for you.
More generally: addr::list $[offset] walks a linked-list with pointer at offset 'offset' (which can be an MDB expression) Cheers, - jonathan