Place debug file in same directory as the .so file, then run gdb (debug symbols should get automatically loaded)