Format: viewlist structptr nextptr [links]
Bring up a number of items from a list type of structure, where structptr is the pointer to the structure, nextptr is the name of the next pointer within the structure, and links is the number of items in the list to show (default value is 25). For example, given the following C code:
struct S {int a; struct S *next; }; struct S *ptr; |
The command viewlist ptr next 3 would bring up view windows on the first three structures in this list. In this case, the viewlist command is equivalent to entering:
view ptr; view ptr->next; view ptr->next->next; |