⟩ What is the output of this program? #!/bin/bash a=10; b=20 c=$((++a)) let a=c+a echo $a exit 0 a) 21 b) 22 c) program will generate an error message d) none of the above
b) 22
b) 22
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
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
Which one of the following variables is used within GDB to hold on to a value and refer to it later? a) convenience variables b) environment variables c) temporary variables d) none of the mentioned
In GDB, we can refer to machine register contents, in expressions, as variables with names starting with a) $ b) # c) ! d) none of the mentioned
In GDB hardware-dependent information about the floating point unit can be displayed by the command a) info float b) display float c) show float d) none of the mentioned
The result of an expression can be assigned to an environment variable with the command a) assign b) set c) env d) none of the mentioned
Which one of the following GDB command deletes any break-point at the next instruction to be executed in the selected stack frame? a) clear b) delete c) disable d) none of the mentioned
Which one of the following GDB command allows to move from one stack frame to another without printing the frame? a) select-frame b) frame c) frame move d) none of the mentioned
The GDB text user interface uses the ____ library to show the source file. a) curses b) YUI c) JUI d) none of the mentioned
By default the GDB automatically executes the command from its a) init files b) start files c) begin files d) none of the mentioned