This is the mail archive of the gdb-patches@sourceware.org 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] |
> I wonder what would happen is we changed the STRUCT_CONVENTION into > RETURN_VALUE_ABI_RETURNS_ADDRESS... I'll experiment quickly (have to > run soon) but I have suspicions that messy things might happen :-/. I won't have time to test the following simple-minded patch, but it seems to be doing the trick for this specific case. It basically looks like the return_value methods of hppa needs to be enhanced to know how to retrive values returned by address... I'll finish having a look next week if I have time, but don't hesitate to take over if you want. I think the hppa64 part will be identical, so perhaps isolating this in a function and then call this new function from both hppa32 and hppa64 return_value methods will fix the problem for both ABIs. -- Joel
Attachment:
fin.diff
Description: Text document
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |