[RFC] Supporting alternative ABIs

Andrew Cagney ac131313@redhat.com
Sat Sep 13 19:58:00 GMT 2003


> 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



More information about the Gdb mailing list