gdb <filename>
Avec arguments :
gdb --args <filename> <?arg1> <?arg2> ..
run
start
Avec arguments :
start args <?arg1> <?arg2> ...
step
s
next
n
finish
fin
continue
c
stop
kill
k
quit
q
break <?ligne/?nom fonction>
b <?ligne/?nom fonction>
delete <?numero breakpoint/tous les breakpoints>
d <?numero breakpoint/tous les breakpoints>
info breakpoints
i b
info register <nom registre>
i r <nom registre>
p $<nom registre>
info registers
i r
<commande> /t <registre>
watch <nom variable/adresse>
print <variable>
p <variable>
where/backtrace/backtrace full
wh/f
help <?commande>
h <?commande>
Ctrl + L
list
https://ccrma.stanford.edu/~jos/stkintro/Useful_commands_gdb.html