gdb: replace some calls to internal_error with gdb_assert
[deliverable/binutils-gdb.git] / gdb / mdebugread.c
index bac6fd6c46562831f7e4acbf3a503dafcd654f87..5dfd80de1923b53e37000074f24b9b337f45da3a 100644 (file)
@@ -3576,9 +3576,8 @@ parse_partial_symbols (minimal_symbol_reader &reader,
              CORE_ADDR svalue;
              short section;
 
-             if (ext_ptr->ifd != f_idx)
-               internal_error (__FILE__, __LINE__,
-                               _("failed internal consistency check"));
+             gdb_assert (ext_ptr->ifd == f_idx);
+
              psh = &ext_ptr->asym;
 
              /* Do not add undefined symbols to the partial symbol table.  */
This page took 0.024896 seconds and 4 git commands to generate.