Include only local subsections into TOC. This prevent duplication of
TOC when build single page HTML document. Also this make unnecessary CSS hack
to hide document title as top level section.
.. -*- 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