setting up gdb process