* defs.h (deprecated_error_hook): Delete declaration.
[deliverable/binutils-gdb.git] / gdb / remote-sim.c
index 6bd05089907e50891eb1f835b3d157688f4ff710..5b9d2d3155888d880b0f1a527cb75d75a22cb70b 100644 (file)
@@ -262,18 +262,12 @@ gdb_os_evprintf_filtered (host_callback * p, const char *format, va_list ap)
 /* GDB version of error callback.  */
 
 static void
-gdb_os_error (host_callback * p, const char *format,...)
+gdb_os_error (host_callback * p, const char *format, ...)
 {
-  if (deprecated_error_hook)
-    (*deprecated_error_hook) ();
-  else
-    {
-      va_list args;
-      va_start (args, format);
-      verror (format, args);
-      va_end (args);
-    }
-  exit (1);
+  va_list args;
+  va_start (args, format);
+  verror (format, args);
+  va_end (args);
 }
 
 int
This page took 0.035565 seconds and 4 git commands to generate.