If we want to print the value of a variable in hexadecimal, we have to use “print” command with the option ___ in GDB.

🎲 Try a Random Question  |  Total Questions in Quiz: 50  |  🧠 Study this quiz with Flashcards
This question is part of a full practice quiz:
Linux Basics Practice Test: GDB Debugger — practice the complete quiz, review flashcards, or try a random question.

GNU Debugger (gdb) is an open-source tool for debugging source code in Linux programs. It's also used for commercial software development on UNIX platforms.  Here are some things you can do with gdb: Run: Starts a program execution Quit: Quits gdb Print expr: Prints an expression, where expr may be a variable name Next: Goes to the next line Set a breakpoint: Pauses a running program and lets you examine the variables, arguments, memory areas, stack, heap, and more Use breakpoints: Tells gdb to stop or pause the program execution at certain line, or function, or address Use... Show more

If we want to print the value of a variable in hexadecimal, we have to use “print” command with the option ___ in GDB.