Some useful gdb commands:

set symbol-reloading on

show symbol-reloading
set symbol-reloading on
maint info sections ALLOBJ CODE
maint info psymtabs libmtcp.so
add-symbol-file libmtcp.so 0x2a9555a1f0


set symbol-reloading on
info address SYMBOL
info symbol ADDR
info functions mtcp_sys_memcpy
info variables
info sources

maint info psymtabs libmtcp.so
maint info sections ALLOBJ CODE

info registers
