Hello,
I'm trying to debug shared library on Development Studio.
I can set the break after loading file by command "add-symbol-file xxx.so " but it never stops at the break point.
And there is a message on Disassembly panel "Failed to read 4 bytes from address EL1N:0x..." corresponding to source code.
How can I solve this problem?
Thanks
Sung
Firstly, be sure that you are loading the symbols to the correct EL level, by using
add-symbol-file xxx.so EL1N:0x0
Do you see any warnings when the breakpoint is set? Is the .so loaded when you set the breakpoint? We generally recommend you set a 'pending breakpoint' for this
break -p so_symbol
Regards,
Ronan