The GCC problem is responsible for GDB internal errors. See: https://sourceware.org/bugzilla/show_bug.cgi?id=31281