I run vim
with cscope
in my C development environment. I start vim
within a GNU screen
window on a freebsd 6.3 server and establish the cscope db connection with cs add ...
. At this stage everything works flawlessly.
If I detach the screen session and reattach it, any attempts to use cscope causes cscope to dump core. This is all I have from the core dump since my cscope is not compiled with debug symbols:
(gdb)
#0 0x480f45dc in ungetch () from /lib/libncurses.so.6
(gdb)
AFAIK there is no need to re-establish the cscope connection on vim when I reattach to screen. That would defeat the purpose of using screen. Anyone knows whats going on and if there is a workaround? If everything fails, I'm going to find time to compile cscope with symbols and figure out whats going on.
If it helps, my cscope DB is generated with:
cscope -bkq -P`pwd` -i cscope.files