added a cool function for attaching gdb to an existing process