gdb.rst
author Oleksandr Gavenko <gavenkoa@gmail.com>
Sat, 10 Feb 2018 01:28:53 +0200
changeset 2227 1e9323e7ec88
parent 1912 8b81a8f0f692
permissions -rw-r--r--
Removed files: I don't longer have interest on topic.

.. -*- coding: utf-8; -*-

======
 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