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: Output formats (debugging with gdb) by default, gdb prints a value according to its data type.

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 … This page explains the print command. The print command prints the value of a given expression.

Or you might want to view … This page explains the print command. The print command prints the value of a given expression.