最終更新:2021-01-29 (金) 23:17:00 (1546d)
GDB
Top / GDB
GNU Debugger
http://www.gnu.org/software/gdb/
さまざまな言語やプロセッサ、OSをサポートするオープンソースのデバッガ
対応する言語
ドキュメント
GDB/コマンド?
- break <location> -- set breakpoint
- continue? -- continue with program execution
- del? -- delete breakpoint, tracepoint
- bt? -- back trace
- step? # –- single step the program, can step # times
- next –- step-over subroutine calls
- list? –- can list source code by line # or by function name
- disas? <function> -- show disassembly for function
- catch? <event> -- GDB stops program when event occurs
- watch <expr> -- GDB stops program when expr changes