* breakpoint.c, breakpoint.h (breakpoint_init_inferior): New function
[deliverable/binutils-gdb.git] / gdb / complaints.c
index b8ab240724371a04111d725fbcf3d686e8dd1fae..079ca5adc643b1f41565e2113fce165405d97dd7 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.  */
+  fflush (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.023583 seconds and 4 git commands to generate.