The basic setup –
I’m developing with the cross-compiler toolchain to produce software for the Raspberry Pi. I’m using VS2015 Community Edition.
I have one project that builds a .so file (with debug info).
I have a second project (an executable) that links to and runs with the .so file.
When I debug the second project I can step through that source code just fine, but when I try to step into any of the code in my .so file, all I can see is disassembly.
Some useful output from gdb (my library is called libsvpi.so):
>info sharedlibrary
From To Syms Read Shared Object Library
0x76fcf7c0 0x76fe8408
Yes c:\sysgcc\raspberry\arm-linux-gnueabihf\sysroot/lib/ld-linux-armhf.so.3
No linux-vdso.so.1
No /usr/lib/arm-linux-gnueabihf/libarmmem.so
No /home/pi/SVPi/libsvpi.so
<hr />
if I type “sharedlibrary libsvpi.si”, it just says “OK”, but it seems as though nothing has changed because if I type “info sharedlibrary” again, it says “No” for Syms read.
How do I force it to read/find the symbols for this .so so that I can step through it in the debugger?
Thanks!