GNU Debugger - Examples of Commands

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:

    It is hardly to be believed how spiritual reflections when mixed with a little physics can hold people’s attention and give them a livelier idea of God than do the often ill-applied examples of his wrath.
    —G.C. (Georg Christoph)

    In the examples that I here bring in of what I have [read], heard, done or said, I have refrained from daring to alter even the smallest and most indifferent circumstances. My conscience falsifies not an iota; for my knowledge I cannot answer.
    Michel de Montaigne (1533–1592)

    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 (1689–1755)