diff options
Diffstat (limited to 'gdb/testsuite/gdb.base/ending-run.c')
-rw-r--r-- | gdb/testsuite/gdb.base/ending-run.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/testsuite/gdb.base/ending-run.c b/gdb/testsuite/gdb.base/ending-run.c index ccf8c50..8c67706 100644 --- a/gdb/testsuite/gdb.base/ending-run.c +++ b/gdb/testsuite/gdb.base/ending-run.c @@ -22,12 +22,12 @@ int main() int i; p = (int *) malloc( 4 ); - setvbuf (stdout, alloca (64), _IOLBF, 64); + for (i = 1; i < 10; i++) { printf( "%d ", callee( i )); - + fflush (stdout); } - printf( " Goodbye!\n" ); + printf( " Goodbye!\n" ); fflush (stdout); return 0; } |