quit: Exit gdb
help: See commands -> help command
(see also manpage)
list: List program
break: Set breakpoint (for stopping);
>break 27 if (a==b)
watch: Set watchpoint (for stopping)
>watch (i==19 && a>b)
clear: Clear all breakpoints
delete: Delete breakpoint by number
(info break)
run: Start your program
|