I am trying to debug software using gdbserver on ARM to get the backtrack of the crash. Unfortunately, I only get question marks. Everywhere, I read this problem, simply due to the lack of characters, but the characters are not deleted from my libraries.
If I try to use the file command to load characters in the client, I get:
reading symbols from <path>/libQtWebKit.so.4.7.2...(no debugging symbols found)...done.
and then when the failure occurs:
Program received signal SIGSEGV, Segmentation fault. 0x00000000 in ?? () (gdb) bt
My libraries are compiled in version, but the characters are actually there. With nm, I can find them. Why do I get only question marks? Is it just because libraries are compiled with optimizations? Is it impossible to debug libraries in release mode?
source share