# HG changeset patch
# User Oleksandr Gavenko <gavenkoa@gmail.com>
# Date 1450517648 -7200
# Node ID fc585ecf7c6d14f2bbb0cab9b59ec88244ae3ab7
# Parent  801b0a13a1a0a1e79cd652b8b465a1609d060cc5
Get backtrace from all threads.

diff -r 801b0a13a1a0 -r fc585ecf7c6d gdb.rst
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/gdb.rst	Sat Dec 19 11:34:08 2015 +0200
@@ -0,0 +1,21 @@
+.. -*- coding: utf-8; -*-
+.. include:: HEADER.rst
+
+======
+ GDB.
+======
+.. contents::
+
+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
+