gdb.rst
changeset 1832 fc585ecf7c6d
child 1905 fba288d59662
equal deleted inserted replaced
1831:801b0a13a1a0 1832:fc585ecf7c6d
       
     1 .. -*- coding: utf-8; -*-
       
     2 .. include:: HEADER.rst
       
     3 
       
     4 ======
       
     5  GDB.
       
     6 ======
       
     7 .. contents::
       
     8 
       
     9 Get backtrace from all threads.
       
    10 ===============================
       
    11 
       
    12 Disable pagination and iterate across all threads::
       
    13 
       
    14   (gdb) set pagination off
       
    15   (gdb) bt full
       
    16   (gdb) thread apply all bt
       
    17   (gdb) thread apply all where
       
    18 
       
    19  * https://sourceware.org/gdb/onlinedocs/gdb/Backtrace.html
       
    20  * http://stackoverflow.com/questions/18391808/getting-the-backtrace-for-all-the-threads-in-gdb
       
    21