* 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:
parent
b6849f55b9
commit
a10c9419a4
3 changed files with 12 additions and 1 deletions
|
@ -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>
|
2001-09-17 Corinna Vinschen <vinschen@redhat.com>
|
||||||
|
|
||||||
* gdb.base/display.c (do_loops): Add float variable `f'.
|
* gdb.base/display.c (do_loops): Add float variable `f'.
|
||||||
|
|
|
@ -22,7 +22,7 @@ int main()
|
||||||
int i;
|
int i;
|
||||||
|
|
||||||
p = (int *) malloc( 4 );
|
p = (int *) malloc( 4 );
|
||||||
|
setvbuf (stdout, alloca (64), _IOLBF, 64);
|
||||||
for (i = 1; i < 10; i++)
|
for (i = 1; i < 10; i++)
|
||||||
{
|
{
|
||||||
printf( "%d ", callee( i ));
|
printf( "%d ", callee( i ));
|
||||||
|
|
|
@ -170,6 +170,10 @@ gdb_expect {
|
||||||
# This is what happens on Solaris currently -sts 1999-08-25
|
# This is what happens on Solaris currently -sts 1999-08-25
|
||||||
pass "step out of main on Solaris"
|
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 $" {
|
-re ".*in ..change.mode ().*$gdb_prompt $" {
|
||||||
# This is what happens on ARM in thumb mode -fn 2000-02-01
|
# This is what happens on ARM in thumb mode -fn 2000-02-01
|
||||||
pass "step out of main on ARM thumb"
|
pass "step out of main on ARM thumb"
|
||||||
|
|
Loading…
Reference in a new issue