This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Avoid timeouts in call-sc.exp


Here is a diff between the two logs from where their difference is 
non-trivial:

< Running target unix/-m32
---
> Running target unix/-m64

94,95c94,95
< "finish" not meaningful in the outermost frame.
< (gdb) FAIL: gdb.base/call-sc.exp: finish foo; return call-sc-tc
---
> Run till exit from #0  main () at ./gdb.base/call-sc.c:78
> FAIL: gdb.base/call-sc.exp: finish foo; return call-sc-tc (timeout)

Here is the $64000 question: why did GDB recognize we were in the
outermost frame for the 32-bit case and not for the 64-bit case?  Is main() 
not the outermost frame for ppc64 but is for ppc32?  Guess I'll have to 
break-down and check the API's.

-=# Paul #=-


On Tuesday 24 August 2004 10:26, Michael Chastain wrote:
> Good logs!
>
> Both of the logs show similar de-synchronization.
>
> The problem starts here in ppc32.gdb.log:
>
>   p/c L
>   $2 = 90 'Z'
>   (gdb) PASS: gdb.base/call-sc.exp: zed L for return; return call-sc-tc
>   return foo
>   Make fun return now? (y or n) y
>   reading register fpscr (#70): Input/output error.
>   (gdb) FAIL: gdb.base/call-sc.exp: return foo; return call-sc-tc
>   p/c L
>   $3 = 90 'Z'
>   (gdb) FAIL: gdb.base/call-sc.exp: value foo returned; return call-sc-tc
>   advance fun
>   main () at ./gdb.base/call-sc.c:78
>   78            L = fun ();
>   (gdb) FAIL: gdb.base/call-sc.exp: advance to fun for finish; return
> call-sc-tc p/c L
>
> I presume the I/O error on fpscr is a bug in gdb.
> After the bug happens, variable 'L' is not set to its new value.
> And then "advance" starts from some de-synchronized place.
>
> ppc64.gdb.log has the same problem.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]