GDB
1. How do you find an
infinite loop using GDB?
2. How do you debug
dynamic and static linking using GDB?
3. What is core dump?
And why it is required?
4. Which option of
compilation is used for GDB? And what is the extra information that is added to
the executable(a.out)?
5. what is GDB. how
will you set break point to a particular line number.
6. How will you debug
the child process?
7. If you set a
breakpoint to a function, and call the function inside the fork( ) then to
which process that breakpoint is set(child or parent).
8. How will u check the
stack of the process?
9. Does separate stack
is created for child process?
10. why gdb ?how do u
debug ?some basic commands used in gdb and their usage
Others
1. What is the
advantage of dynamic linking over static linking?
Other Tools
2. Explain why and how
are u going to use memprof tool ?
3. What is GCOV? how
will u use it?
4. Explain what are all
the things u get from GCOV
5. What is GCOV? What
it does? Explain
6. What is the
disadvantage of Macro when we use GDB?
7. Assume If u are
running a program , it gives the segmentation fault, if run the same program
with the GDB it works fine. How you will find the problem in that program?
Assume if debugging info is not available, how you will find error in program?.
8. What is make file
and why is it used?
9. Which option of
compilation is used for GDB? And what is the extra information that is added to
the executable(a.out)?
10. got and PLT working
11. how the make file
work exe : gcc -o main main.c
12. gdb break and watch
point diffrence
13. what are things you
can call through gdb ( file, line ...)
14. How to debug
segmentation fault code?
15.
Explain compiation process.
16.
Draw a parse tree for unary operator.
17.
Explain about compiler and linker.
18.
Error in each stage of compilation.
19.
what is local and global binding.
20.
What is CVS? What are advantages of CVS?
MAKE
FILE
What
is make file and why is it used?
No comments:
Post a Comment