Gdb hangs when trying to single-step after an invalid instruction