]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - gdb/serial.c
internal_error: remove need to pass __FILE__/__LINE__
[thirdparty/binutils-gdb.git] / gdb / serial.c
index 0a8c7abf615e721e1ea4be0527671e943208f821..b304807c597a81d45a994e363d0f6de5fed72e6e 100644 (file)
@@ -387,8 +387,7 @@ serial_readchar (struct serial *scb, int timeout)
   /* FIXME: cagney/1999-10-11: Don't enable this check until the ASYNC
      code is finished.  */
   if (0 && serial_is_async_p (scb) && timeout < 0)
-    internal_error (__FILE__, __LINE__,
-                   _("serial_readchar: blocking read in async mode"));
+    internal_error (_("serial_readchar: blocking read in async mode"));
 
   ch = scb->ops->readchar (scb, timeout);
   if (serial_logfp != NULL)