aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.base/ending-run.c
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2001-09-18 17:49:06 +0000
committerCorinna Vinschen <corinna@vinschen.de>2001-09-18 17:49:06 +0000
commita10c9419a4c9533a651c831ea505ed87825276ed (patch)
treee58004eaf8c29a079e9d7a32351f90e56f4c070c /gdb/testsuite/gdb.base/ending-run.c
parentb6849f55b93759fa93a28c749cee6b799000067e (diff)
downloadgdb-a10c9419a4c9533a651c831ea505ed87825276ed.zip
gdb-a10c9419a4c9533a651c831ea505ed87825276ed.tar.gz
gdb-a10c9419a4c9533a651c831ea505ed87825276ed.tar.bz2
* gdb.base/ending-run.c (main): Set stdout buffersize
to the same reasonable value for any target. * gdb.base/ending-run.exp: Add a regular expression to make testsuite happy on Sanyo Stormy16 target.
Diffstat (limited to 'gdb/testsuite/gdb.base/ending-run.c')
-rw-r--r--gdb/testsuite/gdb.base/ending-run.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/testsuite/gdb.base/ending-run.c b/gdb/testsuite/gdb.base/ending-run.c
index 0936146..ccf8c50 100644
--- a/gdb/testsuite/gdb.base/ending-run.c
+++ b/gdb/testsuite/gdb.base/ending-run.c
@@ -22,7 +22,7 @@ int main()
int i;
p = (int *) malloc( 4 );
-
+ setvbuf (stdout, alloca (64), _IOLBF, 64);
for (i = 1; i < 10; i++)
{
printf( "%d ", callee( i ));