Skip to content

Commit

Permalink
doc: Use more common doc for gdb
Browse files Browse the repository at this point in the history
Signed-off-by: Petr Vorel <pvorel@suse.cz>
  • Loading branch information
pevik committed May 9, 2024
1 parent dc2c4f8 commit e59f1a9
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions doc/developers/debugging.rst
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ Tracing and debugging syscalls
------------------------------

The new test library runs the actual test (i.e. the ``test()`` function) in a
forked process. To get stack trace of a crashing test in gdb it's needed to
`set follow-fork-mode child <https://ftp.gnu.org/old-gnu/Manuals/gdb/html_node/gdb_25.html>`_.
forked process. To get stack trace of a crashing test in ``gdb`` it's needed to
`set follow-fork-mode child <https://sourceware.org/gdb/current/onlinedocs/gdb.html/Forks.html>`_.

To trace the test, please use ``strace -f`` to enable tracing also for the
forked processes.

0 comments on commit e59f1a9

Please sign in to comment.