ソフトウェア設計及び演習2017
ヘルプ [help]と短縮コマンド
ヘルプ [help]と短縮コマンド
gdb を起動させる.
$ gdb
help コマンドを使用することによって,gdbコマンドに関するヘルプ情報を表示することができる.
(gdb) help List of classes of commands: aliases -- Aliases of other commands breakpoints -- Making program stop at certain points data -- Examining data files -- Specifying and examining files internals -- Maintenance commands obscure -- Obscure features running -- Running the program stack -- Examining the stack status -- Status inquiries support -- Support facilities tracepoints -- Tracing of program execution without stopping the program user-defined -- User-defined commands Type "help" followed by a class name for a list of commands in that class. Type "help all" for the list of all commands. Type "help" followed by command name for full documentation. Type "apropos word" to search for commands related to "word". Command name abbreviations are allowed if unambiguous.
クラス名を引数に指定して,そのクラスに属するコマンドの一覧を表示する.
(gdb) help breakpoints Making program stop at certain points. List of commands: awatch -- Set a watchpoint for an expression break -- Set breakpoint at specified line or function catch -- Set catchpoints to catch events catch assert -- Catch failed Ada assertions ...
quit コマンドで gdb を終了させる.
(gdb) quit
最終更新日:2017/04/03 09:14:18