This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: Avoid timeouts in call-sc.exp
On Tue, Aug 24, 2004 at 11:48:06AM -0700, Paul Gilliam wrote:
> 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.
Probably GDB is confused about main and ".main"...
--
Daniel Jacobowitz