gdb.rst
author Oleksandr Gavenko <gavenkoa@gmail.com>
Mon, 22 Feb 2016 13:34:55 +0200
changeset 1911 870693ce6ff0
parent 1905 fba288d59662
child 1912 8b81a8f0f692
permissions -rw-r--r--
Fix my RST article style by 'check-format-policy' target.

.. -*- coding: utf-8; -*-
.. include:: HEADER.rst

======
 GDB.
======
.. contents::
   :local:

Get backtrace from all threads.
===============================

Disable pagination and iterate across all threads::

  (gdb) set pagination off
  (gdb) bt full
  (gdb) thread apply all bt
  (gdb) thread apply all where

 * https://sourceware.org/gdb/onlinedocs/gdb/Backtrace.html
 * http://stackoverflow.com/questions/18391808/getting-the-backtrace-for-all-the-threads-in-gdb