From 4f1afa1641c2e757ed5c1d931c85c0f90294f5e9 Mon Sep 17 00:00:00 2001 From: Jim Kingdon Date: Tue, 17 Aug 1993 16:49:11 +0000 Subject: [PATCH] * complaints.c (complain): fflush (stdout) after output. --- gdb/ChangeLog | 7 +++++++ gdb/complaints.c | 4 ++++ 2 files changed, 11 insertions(+) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index be27bbe9005..878301f14c3 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +Tue Aug 17 11:14:25 1993 Jim Kingdon (kingdon@lioth.cygnus.com) + + * complaints.c (complain): fflush (stdout) after output. + Tue Aug 17 01:43:55 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) * blockframe.c, frame.h (sigtramp_saved_pc): New routine to fetch @@ -10,6 +14,9 @@ Tue Aug 17 01:43:55 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) Mon Aug 16 13:52:14 1993 Jim Kingdon (kingdon@lioth.cygnus.com) + * main.c (cd_command): If current_directory on entry is "/", then + don't append an extra slash. + * target.c (target_xfer_memory): Clear errno before calling to_xfer_memory. diff --git a/gdb/complaints.c b/gdb/complaints.c index 49b9e59743e..079ca5adc64 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); } -- 2.30.2