Refs Tokutek/ft-index#28 Add function to attach gdb to the running process and extract information.