Format if specified, allows overriding the output format used by the command. Valid format specifiers are: O - octal x - hexadecimal u - unsigned decimal t - binary f - floating point a - address c - char s - Ò€¦

Sometimes this is not what you want. For example, you might want to print a number in hex, or a Ò€¦ By default, gdb prints a value according to its data type. Sometimes this is not what you want. For example, you might want to print a number in hex, or a pointer in decimal. Or you might want to view Ò€¦ Print as an address, both absolute in hexadecimal and as an offset from the nearest preceding symbol.

For example, you might want to print a number in hex, or a pointer in decimal. Or you might want to view Ò€¦ Print as an address, both absolute in hexadecimal and as an offset from the nearest preceding symbol. You can use this format used to discover where (in what function) an unknown address is located: