Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* Re: userdef.exp regression for ppc?
@ 2002-06-01  8:46 Michael Elizabeth Chastain
  2002-06-01 10:21 ` [rfa:ppc] Fix PPC/NBSD struct return; Was: " Andrew Cagney
  2002-06-03 11:30 ` Michael Snyder
  0 siblings, 2 replies; 9+ messages in thread
From: Michael Elizabeth Chastain @ 2002-06-01  8:46 UTC (permalink / raw)
  To: ac131313; +Cc: gdb-patches, thorpej

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


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2002-06-03 18:30 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-06-01  8:46 userdef.exp regression for ppc? Michael Elizabeth Chastain
2002-06-01 10:21 ` [rfa:ppc] Fix PPC/NBSD struct return; Was: " Andrew Cagney
2002-06-01 15:03   ` Jason R Thorpe
2002-06-02 11:15   ` Jason R Thorpe
2002-06-02 11:51   ` Jason R Thorpe
2002-06-02 12:24     ` Zack Weinberg
2002-06-02 13:29   ` Jason R Thorpe
2002-06-03  6:13     ` Andrew Cagney
2002-06-03 11:30 ` Michael Snyder

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox