diff options
author | Alan Modra <amodra@gmail.com> | 2011-01-14 12:37:17 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2011-01-14 12:37:17 +0000 |
commit | e922bcabdffb3f36677c587e5ff04e90488837b6 (patch) | |
tree | f0be6e42e7aef43d6d5b02b47d1e10db511287e5 /ld/ldmisc.c | |
parent | 4a97a0e54cba4caa5d994260f9c8ac9548628790 (diff) | |
download | gdb-e922bcabdffb3f36677c587e5ff04e90488837b6.zip gdb-e922bcabdffb3f36677c587e5ff04e90488837b6.tar.gz gdb-e922bcabdffb3f36677c587e5ff04e90488837b6.tar.bz2 |
* ldmain.c (main): Flush stdout before and stderr after printing
message.
* ldmisc.c (einfo): Similarly.
* plugin.c (message): Likewise.
* emultempl/ppc64elf.em: Likewise.
* emultempl/xtensaelf.em: Likewise.
* emulparams/elf32mcore.sh: Use einfo rather than printf.
* emultempl/beos.em: Likewise.
* emultempl/pe.em: Likewise.
* emultempl/pep.em: Likewise.
Diffstat (limited to 'ld/ldmisc.c')
-rw-r--r-- | ld/ldmisc.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/ld/ldmisc.c b/ld/ldmisc.c index 74baa98..3695800 100644 --- a/ld/ldmisc.c +++ b/ld/ldmisc.c @@ -1,6 +1,6 @@ /* ldmisc.c Copyright 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, - 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008 + 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2010, 2011 Free Software Foundation, Inc. Written by Steve Chamberlain of Cygnus Support. @@ -440,9 +440,11 @@ einfo (const char *fmt, ...) { va_list arg; + fflush (stdout); va_start (arg, fmt); vfinfo (stderr, fmt, arg, TRUE); va_end (arg); + fflush (stderr); } void |