Print the type declaration of the specified type, or the last value in history.
ptype [name]name |
Type for which you want the type declaration to be printed. |
This command prints a detailed description of a type, or the type of the last value in the command history.
This command is similar to whatis, but whatis prints just the name of the type.
The following example applies if the command history contains the type String, but not the type bitfield.
(idb) ptype type = String (idb) ptype bitfield type = void ()