aboutsummaryrefslogtreecommitdiff
path: root/gdb/complaints.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/complaints.c')
-rw-r--r--gdb/complaints.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/gdb/complaints.c b/gdb/complaints.c
index 49b9e59..079ca5a 100644
--- a/gdb/complaints.c
+++ b/gdb/complaints.c
@@ -109,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);
}