This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: userdef.exp regression for ppc?
- From: Michael Snyder <msnyder at redhat dot com>
- To: Michael Elizabeth Chastain <mec at shout dot net>
- Cc: ac131313 at cygnus dot com, gdb-patches at sources dot redhat dot com, thorpej at wasabisystems dot com
- Date: Mon, 03 Jun 2002 11:15:38 -0700
- Subject: Re: userdef.exp regression for ppc?
- Organization: Red Hat, Inc.
- References: <200206011546.g51FkMj30586@duracef.shout.net>
Michael Elizabeth Chastain wrote:
>
> This looks like a bug in calling functions that return a structure
> by value. All the functions that return structures FAIL:
That could be checked by looking at the results of structs.exp,
callfuncs.exp, and to some extent call-ar-st and call-rt-st.
>
> print one + two
> $1 = {x = 2147479536, y = 1099239424}
> (gdb) FAIL: gdb.c++/userdef.exp: print one + two
>
> The functions that return a scalar PASS:
>
> print one && two
> $6 = 1
> (gdb) PASS: gdb.c++/userdef.exp: print one && two
>
> Look at the results in gdb.base/call-rt-st.exp and gdb.base/structs.exp.
> I bet there is a lot of juicy log info there.
>
> Michael C