gdb_refcard refactoring (folding)