Skip to content

Instantly share code, notes, and snippets.

@hungryC
hungryC / .gdbinit
Created August 25, 2023 07:04 — forked from guodongxiaren/.gdbinit
GDB coredump调试美化输出
# 保存到 ~/.gdbinit
python
import sys
sys.path.insert(0, '/usr/share/gcc-4.8.2/python') # 这个路径以实际情况为准
from libstdcxx.v6.printers import register_libstdcxx_printers
register_libstdcxx_printers (None)
end
#
# STL GDB evaluators/views/utilities - 1.03