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

assembly code debugging

I found if I set breakpoints in assembly code, the DS-5 debugger is not trapped there on omap3530 beagleboard. In addition, it doesn't step in assembly codes, if assembly codes are in a static/dynamic libs.

Parents
  • The top of the stack is determined by the SP register, so the lack of stack frames is probably to do with the lack of registers.

    I would recommend that you check the version of gdbserver that you are using. We recommend using version 6.8, and a copy of 6.8 gdbserver binaries is included with the product in the following directory:

    <installation_directory>/arm/armv5t/gdbserver

    You can try using this gdbserver to see if this solves the lack of registers.

    Another suggestion is to quit Eclipse, delete the following directory and restart Eclipse:

    %APPDATA%\ARM\DS-5\configdb (on Windows)
    $HOME/.ds-5/configbd (on Linux)

    Finally, a new release of DS-5 was recently made available on Mon 9th Aug which you might like to try. You can download it from:

    silver.arm.com/.../DS5TR

    Please let us know if any of these help to resolve your register problems.

Reply
  • The top of the stack is determined by the SP register, so the lack of stack frames is probably to do with the lack of registers.

    I would recommend that you check the version of gdbserver that you are using. We recommend using version 6.8, and a copy of 6.8 gdbserver binaries is included with the product in the following directory:

    <installation_directory>/arm/armv5t/gdbserver

    You can try using this gdbserver to see if this solves the lack of registers.

    Another suggestion is to quit Eclipse, delete the following directory and restart Eclipse:

    %APPDATA%\ARM\DS-5\configdb (on Windows)
    $HOME/.ds-5/configbd (on Linux)

    Finally, a new release of DS-5 was recently made available on Mon 9th Aug which you might like to try. You can download it from:

    silver.arm.com/.../DS5TR

    Please let us know if any of these help to resolve your register problems.

Children