* config/m68k/monitor.mt (TDEPFILE): Add remote-es.o.
[deliverable/binutils-gdb.git] / gdb / complaints.c
index b8ab240724371a04111d725fbcf3d686e8dd1fae..e441db4218d7d36c7f6e8dca7694075f14a70fe1 100644 (file)
@@ -64,7 +64,6 @@ complain (va_alist)
 {
   va_list args;
   struct complaint *complaint;
-  char *val;
 
   va_start (args);
   complaint = va_arg (args, struct complaint *);
@@ -110,6 +109,10 @@ complain (va_alist)
        puts_filtered ("...");
        wrap_here ("");
     }
+  /* If GDB dumps core, we'd like to see the complaints first.  Presumably
+     GDB will not be sending so many complaints that this becomes a
+     performance hog.  */
+  gdb_flush (gdb_stdout);
   va_end (args);
 }
 
@@ -142,6 +145,7 @@ clear_complaints (sym_reading, noisy)
   complaint_series = sym_reading ? 1 + noisy : 0;
 }
 
+void
 _initialize_complaints ()
 {
   add_show_from_set
This page took 0.023527 seconds and 4 git commands to generate.