summaryrefslogtreecommitdiff
path: root/doc/it/weechat_user.it.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/it/weechat_user.it.txt
parent0be9ae30174d10808b102aa7b9de46f0c552ee81 (diff)
downloadweechat-b0ef8fc6e350fb877ff53c9ccaae7cbd2edb07d5.zip
doc: add gdb commands to log output in a file (user guide)
Diffstat (limited to 'doc/it/weechat_user.it.txt')
-rw-r--r--doc/it/weechat_user.it.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/it/weechat_user.it.txt b/doc/it/weechat_user.it.txt
index ea9df5848..ae52d2f6f 100644
--- a/doc/it/weechat_user.it.txt
+++ b/doc/it/weechat_user.it.txt
@@ -255,6 +255,9 @@ All'interno di gdb, usare il comando `bt full` per visualizzare
il backtrace. VerrĂ  mostrato qualcosa di simile a questo:
----------------------------------------
+(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