diff options
author | Jim Kingdon <jkingdon@engr.sgi.com> | 1993-08-17 16:49:11 +0000 |
---|---|---|
committer | Jim Kingdon <jkingdon@engr.sgi.com> | 1993-08-17 16:49:11 +0000 |
commit | 4f1afa1641c2e757ed5c1d931c85c0f90294f5e9 (patch) | |
tree | e56c7a1b7dbb11432c3e2f4a649e156ca68db210 /gdb/complaints.c | |
parent | ed2fe80fb56a61c34e7c37c8699157a6540b0bb2 (diff) | |
download | gdb-4f1afa1641c2e757ed5c1d931c85c0f90294f5e9.zip gdb-4f1afa1641c2e757ed5c1d931c85c0f90294f5e9.tar.gz gdb-4f1afa1641c2e757ed5c1d931c85c0f90294f5e9.tar.bz2 |
* complaints.c (complain): fflush (stdout) after output.
Diffstat (limited to 'gdb/complaints.c')
-rw-r--r-- | gdb/complaints.c | 4 |
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); } |