gdb: show typeinfo of some data March 5, 2023 by Tarik Use ptype command, like this: (gdb) ptype 42 type = int