2009年4月4日星期六

pstack issue in libc debug support

$ dpkg -L libc6-i686 | grep pthread | xargs nm | grep debug
000181bc b __pthread_debug
000181bc b __pthread_debug

but until ubuntu intrepid repository of version 1.2-1, it will result:

'': opening object file: No such file or directory
Could not open object file.

but gdb works with command below:

$ gdb -ex "set pagination 0" -ex "thread apply all bt" --batch -p $(pidof debugperl)

and you shall install debugperl before this :)

没有评论: