OSDN Git Service

* 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)
commit80495efa5369e75ec7ceb712522ddeff07df0746
tree665106206fa067e9c71dc0e41f361de6fe6e21ad
parent05ac6407044fe8c1f0364dfa90696bcf5528e0ec
* 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