add some tip for gdb
add cc option for vim
fix dump bug for pg