public inbox for ltp@lists.linux.it
 help / color / mirror / Atom feed
* [LTP] [PATCH 1/1] README: Document gdb debugging
@ 2023-10-12  9:42 Petr Vorel
  2023-10-12  9:46 ` Cyril Hrubis
  0 siblings, 1 reply; 5+ messages in thread
From: Petr Vorel @ 2023-10-12  9:42 UTC (permalink / raw)
  To: ltp; +Cc: Richard Palethorpe

From: Petr Vorel <petr.vorel@gmail.com>

Suggested-by: Cyril Hrubis <chrubis@suse.cz>
Signed-off-by: Petr Vorel <petr.vorel@gmail.com>
---
 README.md | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/README.md b/README.md
index fa9559398..adeac5fdf 100644
--- a/README.md
+++ b/README.md
@@ -215,6 +215,12 @@ SUSE also publishes a
 [smaller LTP container](https://registry.opensuse.org/cgi-bin/cooverview?srch_term=project%3D%5Ebenchmark+container%3D.*)
 that is not based on the Containerfile.
 
+Debugging with gdb
+==================
+
+To get stack trace of a crashing test in gdb it's useful to
+[`set follow-fork-mode child`](https://ftp.gnu.org/old-gnu/Manuals/gdb/html_node/gdb_25.html).
+
 Developers corner
 =================
 
-- 
2.42.0


-- 
Mailing list info: https://lists.linux.it/listinfo/ltp

^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2023-10-24  8:25 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-10-12  9:42 [LTP] [PATCH 1/1] README: Document gdb debugging Petr Vorel
2023-10-12  9:46 ` Cyril Hrubis
2023-10-12  9:47   ` Petr Vorel
2023-10-23 12:37   ` Cyril Hrubis
2023-10-24  8:24     ` Petr Vorel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox