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?


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


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