From: Matan Breizman Date: Wed, 2 Feb 2022 10:11:53 +0000 (+0000) Subject: doc/dev: Debuggging with gdb X-Git-Tag: testing/wip-vshankar-testing-20250623.033253-tentacle-debug~13^2 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=f83f5d0ad018a643a8c7ebc54a05bd8f8ee5e103;p=ceph-ci.git doc/dev: Debuggging with gdb Signed-off-by: Matan Breizman (cherry picked from commit 682b806efa39784c8ef67b46f4ac628f40aa15d9) --- diff --git a/doc/dev/developer_guide/debugging-gdb.rst b/doc/dev/developer_guide/debugging-gdb.rst index 15314443161..18aed02ec19 100644 --- a/doc/dev/developer_guide/debugging-gdb.rst +++ b/doc/dev/developer_guide/debugging-gdb.rst @@ -6,7 +6,7 @@ a powerful tool that allows you to analyze the execution flow of a process. GDB can help to find bugs, uncover crash errors or track the source code during execution of a development cluster. -It can also be used to debug Teuthology test runs. +It can also be used to debug Teuthology tests runs. GET STARTED WITH GDB -------------------- @@ -24,7 +24,7 @@ Attaching gdb to the process:: .. note:: It is recommended to compile without any optimizations (``-O0`` gcc flag) - in order to avoid elimination of intermediate values. + in order to avoid elimintaion of intermediate values. Stopping for breakpoints while debugging may cause timeouts, so the following configuration options are suggested::