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)

    There are many examples of women that have excelled in learning, and even in war, but this is no reason we should bring ‘em all up to Latin and Greek or else military discipline, instead of needle-work and housewifry.
    Bernard Mandeville (1670–1733)

    Those commands of superiors which are contrary to our first duties are not to be obeyed.
    Samuel Richardson (1689–1761)