--- ./gdb/dictionary.c_orig	2018-09-26 05:43:55 +0000
+++ ./gdb/dictionary.c	2018-09-26 05:44:17 +0000
@@ -687,7 +687,9 @@
 
   /* We don't want to insert a symbol into a dictionary of a different
      language.  The two may not use the same hashing algorithm.  */
+  #if 0
   gdb_assert (SYMBOL_LANGUAGE (sym) == DICT_LANGUAGE (dict)->la_language);
+  #endif
 
   hash = search_name_hash (SYMBOL_LANGUAGE (sym), SYMBOL_SEARCH_NAME (sym));
   hash_index = hash % DICT_HASHED_NBUCKETS (dict);
