Please note: We are aware of an issue affecting replies on the Arm Community forums, which may not be loading as expected.

We apologize for any inconvenience and appreciate your patience while we investigate and work to resolve the issue.

Thank you for your understanding.


This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

debugging shared library

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

Parents
  • 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

Reply
  • 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

Children
No data