Could someone explain or point me to an explanantion of how to build a library for debugging and use it with gdb? Most of the libraries are now shared .so files, do I need to link them statically to debug them, if so how would I do that? Gdb has add-symbol-file but that requires an address which I have no clue about. Thanks, Adam