Examples of Commands
| gdb program | debug "program" (from the shell) |
|---|---|
| run -v | run the loaded program with the parameters |
| bt | backtrace (in case the program crashed) |
| info registers | dump all registers |
| disass $pc-32, $pc+32 | disassemble |
Read more about this topic: GNU Debugger
Famous quotes containing the words examples of, examples and/or commands:
“Histories are more full of examples of the fidelity of dogs than of friends.”
—Alexander Pope (16881744)
“It is hardly to be believed how spiritual reflections when mixed with a little physics can hold peoples attention and give them a livelier idea of God than do the often ill-applied examples of his wrath.”
—G.C. (Georg Christoph)
“It is clear that in a monarchy, where he who commands the exceution of the laws generally thinks himself above them, there is less need of virtue than in a popular government, where the person entrusted with the execution of the laws is sensible of his being subject to their direction.”
—Charles Louis de Secondat Montesquieu (16891755)