If I remember correctly, GDB has some option to "disable" expanding the sub-fields of a struct.
Another way of solving this problem is write a simple Pretty printer for the struct(in the pretty printer, you can print any thing you want), see GDB's document for more informations. Writing pretty printer is not hard.