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: userdef.exp regression for ppc?


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


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