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] |
See:I get the feeling that all that is needed is for the above to be enabledfor all targets. enjoy, AndrewWouldn't that only work for targets that return the value on the stack? Those targets already work properly (I think the 386 is one). I'm concerned here with targets where the struct is returned by reference (thru a pointer provided by the caller.)
My understanding is that, for some ABIs, it just isn't possible to find the address of the returned value (unless debug info (cfi?) somehow helps). For such cases, I think EXTRACT_STRUCT_VALUE_ADDRESS() should return zero.Discussed before in: http://sources.redhat.com/ml/gdb-patches/2001-11/msg00571.html and http://sources.redhat.com/ml/gdb-patches/2001-12/msg00325.html never resolved. Elena
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |