Re: [RFC] Supporting alternative ABIs

Andrew Cagney
2003-09-13T19:58:56Z

> 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