Fixed GDB regression when attaching to process