Debugging Question:
Download Questions PDF

In GDB which one of the following allows us to specify a variable in terms of the file or function where it is defined?
a) ::
b) @
b) $
d) none of the mentioned

Linux Debugging Interview Question
Linux Debugging Interview Question

Answer:

a) ::

Download Linux Debugging Interview Questions And Answers PDF

Previous QuestionNext Question
With the list command, by default GDB prints the ____ source lines.
a) 20
b) 10
c) all
d) none of the mentioned
If we want to print the value of a variable in hexadecimal, we have to use "print" command with the option ___ in GDB.
a) x
b) h
c) hex
d) none of the mentioned