mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-03-14 02:53:51 -05:00

The gdb version of container_of can do better than the C function, because you don't have to specify the structure field name if it can be inferred from the type of the input expression. And $list234 can be made to automatically list the contents of each tree element, not just a pointer to it - just the thing for looking quickly through sktree or s->channels to find the one you're after.