[PATCH 09/13] dbghelp: check correctness of type (esp. in case of unknown ones)