I compiled my code with debug symbols on an BeagleBoneBlack using Debian gcc-4.7. If I use objdump -S on my object file, I see both source lines and disassembly. On my Ubuntu 13.10 host, using gcc-linaro-arm-linux-gnueabihf-4.7-2013.04-20130415_linux, I do arm-linux-gnueabihf-objdump -S on the same object file, I see disassembly lines, but the source lines are not displayed. I¹m attempting to debug my code with a Lauterbach JTAG debugger, but no source code is available which makes debugging very difficult.
Is there some compatibility issue here or am I doing something wrong?
Regards,
John