summaryrefslogtreecommitdiff
path: root/doc/en/weechat_user.en.txt
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2012-02-24 13:51:29 +0100
committerSebastien Helleu <flashcode@flashtux.org>2012-02-24 13:51:29 +0100
commitb0ef8fc6e350fb877ff53c9ccaae7cbd2edb07d5 (patch)
treec3f22c7c8ba5a269a314a2658cd5c3b5a7c13b2c /doc/en/weechat_user.en.txt
parent0be9ae30174d10808b102aa7b9de46f0c552ee81 (diff)
downloadweechat-b0ef8fc6e350fb877ff53c9ccaae7cbd2edb07d5.zip
doc: add gdb commands to log output in a file (user guide)
Diffstat (limited to 'doc/en/weechat_user.en.txt')
-rw-r--r--doc/en/weechat_user.en.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/en/weechat_user.en.txt b/doc/en/weechat_user.en.txt
index d86bb22b1..6bc113f15 100644
--- a/doc/en/weechat_user.en.txt
+++ b/doc/en/weechat_user.en.txt
@@ -247,6 +247,9 @@ Then under gdb, use command `bt full` to display backtrace.
You will see something like that:
----------------------------------------
+(gdb) set logging file /tmp/crash.txt
+(gdb) set logging on
+Copying output to /tmp/crash.txt.
(gdb) bt full
#0 0x00007f9dfb04a465 in raise () from /lib/libc.so.6
#1 0x00007f9dfb04b8e6 in abort () from /lib/libc.so.6