diff options
author | Sebastien Helleu <flashcode@flashtux.org> | 2010-12-26 15:03:58 +0100 |
---|---|---|
committer | Sebastien Helleu <flashcode@flashtux.org> | 2010-12-26 15:03:58 +0100 |
commit | baee047a281b3629a877ef94843734d870ca131e (patch) | |
tree | 660a2d57cd3b3327a1f465b1b079646b671260a5 /doc/en | |
parent | 391ca476742d17d9275ef4e02e9f7cce271697d4 (diff) | |
download | weechat-baee047a281b3629a877ef94843734d870ca131e.zip |
Add question about gdb and threads error in FAQ
Diffstat (limited to 'doc/en')
-rw-r--r-- | doc/en/weechat_faq.en.txt | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/doc/en/weechat_faq.en.txt b/doc/en/weechat_faq.en.txt index ec5da010f..9a91aef40 100644 --- a/doc/en/weechat_faq.en.txt +++ b/doc/en/weechat_faq.en.txt @@ -504,6 +504,28 @@ There are 3 ways: (you can subscribe and send to "support" mailing list) +[[gdb_error_threads]] +When I run WeeChat under gdb, there is error about threads, what can I do? +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +When you run WeeChat under gdb, you may have this error: + +---------------------------------------- +gdb /path/to/weechat-curses +(gdb) run +[Thread debugging using libthread_db enabled] +Cannot find new threads: generic error +---------------------------------------- + +To fix that, you can run gdb with this command (replace path to libpthread and +WeeChat with paths on your system): + +---------------------------------------- +LD_PRELOAD=/lib/libpthread.so.0 gdb /path/to/weechat-curses +(gdb) run +---------------------------------------- + + [[supported_os]] What is the list of supported platforms for WeeChat? Will it be ported to other operating systems? ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |