allĮxamine data frame, frame # select-frame bt, bt N, bt -N bt full info f, info frame info args, info locals info registers $pc, $fp, $sp info address info symbol p, print p * x, x/N display set pretty print on opt can be stop, print, pass disable breakpoint N resp. Set a breakpoint set a conditional breakpoint like break, but only for one shot stop when changes its value delete breakpoint at location delete all breakpoints, watchpoints, etc set how signals are handle. Navigating c s, step n, next u, until fin, finish advance si, stepi, ni, nextiĬontinue continue until different src line like step, do not follow funciton calls like next, but only src line below continue until current function returns continue until location is reached like step and next for machine instrīreakpoints break break … if tbreak … watch clear d, delete handle dis ![]() ![]() ![]() GDB cheat sheet call gdb gdb prog, gdb -args prog r, run run the program attach, detach attach/detach gdb to/from process
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |