From c7bf6ca0a9b10ec1e2a70aa7975f80e72a97023f Mon Sep 17 00:00:00 2001 From: vitalyster Date: Thu, 30 May 2013 23:43:58 +0400 Subject: [PATCH] Added GDB command to debug spectrum backend --- documentation/management/getting_backtrace.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/documentation/management/getting_backtrace.md b/documentation/management/getting_backtrace.md index 8a4060de..54df801e 100644 --- a/documentation/management/getting_backtrace.md +++ b/documentation/management/getting_backtrace.md @@ -63,3 +63,13 @@ Now you have to start Spectrum with following GDB command: Since now Spectrum is running and you have to reproduce the crash or just wait for crash. Then get a backtrace with this GDB command: bt full + +If Spectrum crashed in backend, then you need following GDB command *before* starting Spectrum: + + set follow-fork-mode child + +And then: + + run + bt full +