debug: move the code for peeking values of various types into separate functions.
Also peeks some struct fields by finding the field with the right name in the
DWARF information for the struct, rather than assuming that the fields are
stored in a particular order. This happens in peek<fieldtype>StructField and
Reviewed-by: Rob Pike <firstname.lastname@example.org>
1 file changed