I'm trying to get disassembly of instruction at address A, so I write
(gdb) x/i 0x00007f8aba6ad96c
0x7f8aba6ad96c <laprintf+167>: nop
But how do I get which line in source code it corresponds to? debugging symbols are available.
I'm trying to get disassembly of instruction at address A, so I write
(gdb) x/i 0x00007f8aba6ad96c
0x7f8aba6ad96c <laprintf+167>: nop
But how do I get which line in source code it corresponds to? debugging symbols are available.
Found it: you can use
list *addr
command in GDB to get source-code information about that address.