gdb-walkers
gdb-walkers copied to clipboard
Mark which walkers are 'maps' (and maybe warn on local variable use?)
pipelines that set a GDB internal variable in one walker and use it later are really useful.
These are not always valid, since walkers like 'tail' buffer their input and the variable around the 'tail' walker would be set many times before it's used.
It would be nice to add a marker so the user can tell which walkers are buffered and which are not. It would be even nicer to use such a mark to warn the user if they're setting and using a GDB internal variable around the use of a buffered walker.