From: Matan Breizman Date: Wed, 2 Feb 2022 10:11:53 +0000 (+0000) Subject: doc/dev: Debuggging with gdb X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F63992%2Fhead;p=ceph.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 15314443161a9..18aed02ec1917 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::