> "I don't understand why it won't load symbols"
@shegeley do you mean GDB will not load the debugging symbols for your C program? I assume your are building a dynamically linked library with the GCC "-fPIC -shared
" options?
So I don't think ".so" files contain debug symbols unless you also pass the "-ggdb
" option. I can't remember well, but I think it is something like:
gcc -fPIC -shared -ggdb my-library.c -o my-library.so
@ramin_hal9001 no. i mean how to I run gcc with guile script and get symbols for it in a sigsegv backtrace