* gdb.base/ending-run.c (main): Avoid messing with setvbuf; just
authorJim Blandy <jimb@codesourcery.com>
Mon, 21 Jan 2002 18:46:33 +0000 (18:46 +0000)
committerJim Blandy <jimb@codesourcery.com>
Mon, 21 Jan 2002 18:46:33 +0000 (18:46 +0000)
commit808a31f526cb1a0fef4dc2c1e4a66af986815eaf
tree823ae94718e0d9785580495bd336a731f9ea545f
parent9596feeafe1f8d192ca4b99c6c491630eaa855e0
* gdb.base/ending-run.c (main): Avoid messing with setvbuf; just
call `fflush' after every `printf', so that the output is produced
at predictable points, regardless of whatever buffering does (or
doesn't) take place.
* gdb.base/ending-run.exp: Adjust tests to expect output to appear
at different points.
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.base/ending-run.c
gdb/testsuite/gdb.base/ending-run.exp