Old thread, but a more modern syntax in GDB is simply print -pretty -- *pointer
print -pretty -- *pointer