gdb: replace some calls to internal_error with gdb_assert
[deliverable/binutils-gdb.git] / gdb / utils.c
index 0b470120a22f60b9309743d016e4f1df035c9128..bda6bbf5b0e777e859c94dc23c68bb5bdb9024e1 100644 (file)
@@ -1578,9 +1578,7 @@ void
 wrap_here (const char *indent)
 {
   /* This should have been allocated, but be paranoid anyway.  */
-  if (!filter_initialized)
-    internal_error (__FILE__, __LINE__,
-                   _("failed internal consistency check"));
+  gdb_assert (filter_initialized);
 
   flush_wrap_buffer (gdb_stdout);
   if (chars_per_line == UINT_MAX)      /* No line overflow checking.  */
This page took 0.028799 seconds and 4 git commands to generate.