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

Is --debug option equivalent to -g option in armcc?

In armcc user guide I learned that description of --debug and -g are quite similar. Is --debug option equivalent  to -g option in armcc? 

Parents
  • Hello: Essentially yes, this enables debug info to allow source level debug.

    Note that with armcc, --debug (or -g) does not affect optimization level. With some compilers, -g implies minimal optimization (-O0).

Reply
  • Hello: Essentially yes, this enables debug info to allow source level debug.

    Note that with armcc, --debug (or -g) does not affect optimization level. With some compilers, -g implies minimal optimization (-O0).

Children
No data