From 881529cd0b10d7dbfb858f5b6606b841a704bf8f Mon Sep 17 00:00:00 2001 From: Matan Breizman Date: Wed, 2 Feb 2022 10:11:53 +0000 Subject: [PATCH] doc/dev: Debuggging with gdb Signed-off-by: Matan Breizman (cherry picked from commit 682b806efa39784c8ef67b46f4ac628f40aa15d9) --- doc/dev/developer_guide/debugging-gdb.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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:: -- 2.39.5