Print Settings (Debugging with GDB) - sourceware. org GDB prints memory addresses showing the location of stack traces, structure values, pointer values, breakpoints, and so forth, even when it also displays the contents of those addresses The default is on For example, this is what a stack frame display looks like with set print address on:
GDB Cheat Sheet - darkdust. net Variables and memory print format <what> Print content of variable memory locati-on register display format <what> Like „print“, but print the information after each stepping instruction undisplay <display#> Remove the „display“ with the given number enable display <display#> disable display <display#>
Debugging with GDB - Print Settings - GNU When GDB prints a symbolic address, it normally prints the closest earlier symbol plus an offset If that symbol does not uniquely identify the address (for example, it is a name whose scope is a single source file), you may need to clarify One way to do this is with info line, for example `info line *0x4537' Alternately, you can set GDB to print the source file and line number when it