Cludge to fix an issue with GDB not outputting records when repeatedly attaching to processes.