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

how to pass the arguments to the Realview Debugger

Note: This was originally posted on 1st June 2010 at http://forums.arm.com

After loading the image, set type "ARGUMENTS 'a b c d' " in the cmd pane in RVDS. But when program ran into the function int main(int argc, const char *argv[]), the argc always 0.

But with the same method connecting with the RVISS(RealView Instruction Set Simulator), the argc argv can get the right value.

Does anybody has some idea of this issue?
Parents
  • Note: This was originally posted on 1st June 2010 at http://forums.arm.com

    If using the RVISS, the arguments can be set successfully.

    But the problem is, if using Realview ICE to connect to the board, the arguments setting will fail, the argc was always 0. The image which download to the Realview ICE is the same one as the image download to RVISS.
Reply
  • Note: This was originally posted on 1st June 2010 at http://forums.arm.com

    If using the RVISS, the arguments can be set successfully.

    But the problem is, if using Realview ICE to connect to the board, the arguments setting will fail, the argc was always 0. The image which download to the Realview ICE is the same one as the image download to RVISS.
Children
No data