最終更新:2019-09-18 (水) 17:08:54 (1698d)
gcc -g
Top / gcc -g
オペレーティングシステムのネイティブのフォーマット (stabs?, COFF, XCOFF?, DWARF) でデバッグ情報を生成します。
概要
- Produce debugging information in the operating system's native format (stabs, COFF, XCOFF, or DWARF 2).
- GDB can work with this debugging information.
メモ
- CMAKE_BUILD_TYPE=Debug
- CMAKE_BUILD_TYPE=RelWithDebInfo?