This shows you the differences between two versions of the page.
gdb [2018/02/20 12:16] |
gdb [2022/04/16 12:23] (current) |
||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ===== REFERENCE ===== | ||
+ | * http://ftp.gnu.org/old-gnu/Manuals/gdb/html_node/gdb_48.html# SourcE | ||
+ | * http://www.gnu.org/software/gdb/documentation/ | ||
+ | * http://refcards.com/refcard/gdb-peschr# refcard: | ||
+ | |||
+ | * https://sourceware.org/gdb/current/onlinedocs/gdb/ | ||
+ | * http://sourceware.org/gdb/current/onlinedocs/gdb_toc.html [[manual]] | ||
+ | * https://sourceware.org/gdb/onlinedocs/gdb/Files.html | ||
+ | * http://www.gnu.org/manual/ddd/html_mono/ddd.html# [[ddd]]: | ||
+ | * http://linux.bytesex.org/gdb.html | ||
+ | |||
+ | ulimit -c unlimited | ||
+ | |||
+ | |||
+ | ===== KERNEL ===== | ||
+ | |||
+ | * kgdb : http://www.unixgarden.com/index.php/programmation/debogage-dans-l%E2%80%99espace-noyau-de-linux-avec-kgdb | ||
+ | * http://www.unixgarden.com/index.php/programmation/debogage-du-noyau-linux-avec-kgdb | ||
+ | |||
+ | |||
+ | ===== Message ===== | ||
+ | |||
+ | warning: HEAP[curl.exe]: | ||
+ | warning: HEAP: Free Heap block 39c840 modified at 39c920 after it was freed | ||
+ | |||
+ | * http://curl.haxx.se/mail/archive-2010-04/0064.html | ||
+ | * http://curl.haxx.se/mail/archive-2010-04/0065.html | ||
+ | |||
+ | |||
+ | ===== USAGE ===== | ||
+ | |||
+ | ==== THREAD ==== | ||
+ | |||
+ | thread apply all bt full | ||
+ | * http://stackoverflow.com/questions/18391808/getting-the-backtrace-for-all-the-threads-in-gdb | ||
+ | |||
+ | |||
+ | ===== TIPS / MISC ===== | ||
+ | |||
+ | gdb --batch --ex "t a a bt" -pid=`pidof evolution-source-registry` &>/tmp/bt.txt | ||
+ | |||
+ | |||
+ | * http://sourceware.org/gdb/onlinedocs/gdb/Source-Path.html | ||
+ | * http://software.intel.com/sites/products/documentation/doclib/stdxe/2013/composerxe/debugger/user_guide/GUID-2F5E5757-03B0-4A63-A228-C7A70C7740C9.htm | ||
+ | * http://stackoverflow.com/questions/1103161/gdb-searching-for-source-directories | ||
+ | * http://stackoverflow.com/questions/267674/inspect-the-return-value-of-a-function-in-gdb | ||
+ | * https://sourceware.org/gdb/wiki/STLSupport# gdb stl pretty printer | ||
+ | * http://weblogs.java.net/blog/kohsuke/archive/2009/02/crash_course_on.html# DebuG LearN | ||
+ | * https://github.com/cyrus-and/gdb-dashboard# | ||
+ | * https://github.com/cs01/gdbgui/issues/223# SoftWare | ||
+ | |||
+ | ===== MORE ===== | ||
+ | |||
+ | @TaG: BuG DeBug BuG [[gnu]] [[gcc]] [[debugger]] [[programming]] [[heap]] [[mem]] [[mlk]]heap]] [[mem]] [[mlk]] |