* 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.
This commit is contained in:
Corinna Vinschen 2001-09-18 17:49:06 +00:00
parent b6849f55b9
commit a10c9419a4
3 changed files with 12 additions and 1 deletions

View File

@ -1,3 +1,10 @@
2001-09-18 Corinna Vinschen <vinschen@redhat.com>
* 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.
2001-09-17 Corinna Vinschen <vinschen@redhat.com>
* gdb.base/display.c (do_loops): Add float variable `f'.

View File

@ -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 ));

View File

@ -170,6 +170,10 @@ gdb_expect {
# This is what happens on Solaris currently -sts 1999-08-25
pass "step out of main on Solaris"
}
-re ".*in _int_reset ().*$gdb_prompt $" {
# This is what happens on Sanyo Stormy16
pass "step out of main"
}
-re ".*in ..change.mode ().*$gdb_prompt $" {
# This is what happens on ARM in thumb mode -fn 2000-02-01
pass "step out of main on ARM thumb"