GDB CallStack Address virtual or physical?
问题 My gdb bt callstack gives function name with function address. Then I did nm binary and generated the function name and address mapping. When I tried to match gdb address with nm output it did not match. The function address in (gdb) bt where too high (looks like physical address). gdb function address (e.g 0x00007fffe6fc150f ): #9 0x00007fffe6fc150f in read_alias_file (fname=<value optimized out>, fname_len=<value optimized out>) at localealias.c:224 #10 0x00007fffe6fc1a4e in _nl_expand