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 Elizabeth Chastain <mec at shout dot net>
- To: ac131313 at cygnus dot com
- Cc: gdb-patches at sources dot redhat dot com, thorpej at wasabisystems dot com
- Date: Sat, 1 Jun 2002 10:46:22 -0500
- Subject: Re: userdef.exp regression for ppc?
This looks like a bug in calling functions that return a structure
by value. All the functions that return structures FAIL:
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