diff options
author | Sebastien Helleu <flashcode@flashtux.org> | 2012-02-24 13:51:29 +0100 |
---|---|---|
committer | Sebastien Helleu <flashcode@flashtux.org> | 2012-02-24 13:51:29 +0100 |
commit | b0ef8fc6e350fb877ff53c9ccaae7cbd2edb07d5 (patch) | |
tree | c3f22c7c8ba5a269a314a2658cd5c3b5a7c13b2c /doc/it/weechat_user.it.txt | |
parent | 0be9ae30174d10808b102aa7b9de46f0c552ee81 (diff) | |
download | weechat-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.txt | 3 |
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 |