Debugging Question:
Download Questions PDF

Which one of the following is a special breakpoint that stops the program when the value of an expression changes in GDB?
a) watchpoint
b) catchpoint
c) getpoint
d) none of the mentioned

Linux Debugging Interview Question
Linux Debugging Interview Question

Answer:

a) watchpoint

Download Linux Debugging Interview Questions And Answers PDF

Previous QuestionNext Question
Inside GDB, a program may stop because of
a) a signal
b) a breakpoint
c) step command
d) all of the mentioned
With the list command, by default GDB prints the ____ source lines.
a) 20
b) 10
c) all
d) none of the mentioned