add terminate gdb process on exit variable