⟩ Can you please explain the difference between Linux and UNIX?
Linux kernel was built to work like UNIX but doesn't use any of the UNIX code-this is why Linux is not UNIX. A kernel is the core of any operating system.
Linux kernel was built to work like UNIX but doesn't use any of the UNIX code-this is why Linux is not UNIX. A kernel is the core of any operating system.
Which GDB command reloads the debugging information? a) file b) reload c) debug d) none of the mentioned
GDB can be used a) to find out the memory leakages b) to get the result of a particular expression in a program c) to find the reason of segementation fault d) all of the mentioned
Which GDB command can be used to put a break-point at the beginning of the program? a) b main b) b start c) break d) none of the mentioned
To put the breakpoint at the current line ____ command can be used? a) b b) break c) both (a) and (b) d) none of the mentioned
We can list all the break-point in GDB by the command a) info break b) break all c) both (a) and (b) d) none of the mentioned
Which one of the following is not true about GDB? a) quit command is used to exit the GDB b) kill command is used to stop execution in GDB c) if the execution is stopped by kill command then it can not be started again d) none of the mentioned
While debugging with GDB a) variables can be print b) variables can be modify c) both (a) and (b) d) none of the mentioned
GDB command "frame" is used a) to change the stack frames b) to check the stack frames only c) it is not a valid command d) none of the mentioned
The GDB command "info local" a) displays the list of local variables b) value of local values for the current stack frame c) both (a) and (b) d) none of the mentioned
If we have multiple source files, then during the debugging with GDB a) breakpoint can not be set b) break point can be set by "break" command with a filename c) break point can be set only to makefile d) none of the mentioned