1.

Which compiling option can generate symbolic debug information for debuggers?(a) -c(b) -p(c) -f(d) -gThis question was addressed to me in quiz.This intriguing question originated from The Compilation Process-II topic in portion Writing Software for Embedded Systems of Embedded Systems

Answer»

The CORRECT choice is (d) -g

Explanation: The -g GENERATES the symbolic DEBUG information for the debuggers. Without this, the debugger cannot print the variable values, it can only work at the assembler level. The symbolic information is passed through the compilation process and stored in the EXECUTABLE file.



Discussion

No Comment Found

Related InterviewSolutions