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:

    Histories are more full of examples of the fidelity of dogs than of friends.
    Alexander Pope (1688–1744)

    Histories are more full of examples of the fidelity of dogs than of friends.
    Alexander Pope (1688–1744)

    If writers were too wise, perhaps no books would get written at all. It might be better to ask yourself “Why?” afterwards than before. Anyway, the force from somewhere in Space which commands you to write in the first place, gives you no choice. You take up the pen when you are told, and write what is commanded. There is no agony like bearing an untold story inside you.
    Zora Neale Hurston (1891–1960)