This is the mail archive of the gdb@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: [RFC] Supporting alternative ABIs


Corinna Vinschen <vinschen@redhat.com> writes:


- EXTRACT_RETURN_VALUE, STORE_RETURN_VALUE, USE_STRUCT_CONVENTION and gdbarch_push_dummy_code gdbarch methods would be changed to expect the type of the function, not the type of its return value. They can use TYPE_TARGET_TYPE to get the return value type, but this will also give them access to the `calling_convention' for the function type.

I just looked at infcall.c:find_function_addr. GDB sometimes needs to compute the function's type and address from incomplete information.


Andrew


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