diff options
author | Andrew Haley <aph@redhat.com> | 2005-11-17 16:58:27 +0000 |
---|---|---|
committer | Andrew Haley <aph@redhat.com> | 2005-11-17 16:58:27 +0000 |
commit | 02aec879c3f740fd190b508f05b1ab9d647382c7 (patch) | |
tree | 0b30ebc4e67bd75b46803b290c485477c82aef0b | |
parent | ed1f044ac6423184b2e2b8f805ddc4f76ea1256c (diff) | |
download | gdb-02aec879c3f740fd190b508f05b1ab9d647382c7.zip gdb-02aec879c3f740fd190b508f05b1ab9d647382c7.tar.gz gdb-02aec879c3f740fd190b508f05b1ab9d647382c7.tar.bz2 |
2005-11-17 Andrew Haley <aph@redhat.com>
* cxxfilt.c (main): Flush ouput at newline.
-rw-r--r-- | binutils/ChangeLog | 4 | ||||
-rw-r--r-- | binutils/cxxfilt.c | 2 |
2 files changed, 6 insertions, 0 deletions
diff --git a/binutils/ChangeLog b/binutils/ChangeLog index e04e13d..c07237d 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -1,3 +1,7 @@ +2005-11-17 Andrew Haley <aph@redhat.com> + + * cxxfilt.c (main): Flush ouput at newline. + 2005-11-16 Mark Mitchell <mark@codesourcery.com> * doc/binutils.texi: Include config.texi and @file documentation diff --git a/binutils/cxxfilt.c b/binutils/cxxfilt.c index e1ce982..a8ec43b 100644 --- a/binutils/cxxfilt.c +++ b/binutils/cxxfilt.c @@ -278,6 +278,8 @@ main (int argc, char **argv) /* Echo the whitespace characters so that the output looks like the input, only with the mangled names demangled. */ putchar (c); + if (c == '\n') + fflush (stdout); } fflush (stdout); |