The function/variable is (well was, it appears to have fallen off the
radar for the moment) also wanted for a second reason. When it comes to implementing ABI variants the full function type info is needed. Hence, a ``struct value'' function descriptor (or descriptor pointer / type) are going to eventually be needed anyway. Hence, I think an updated push-dummy-call with the new parameter would be better.
i can certainly try to look into this, but in lieu of the above (at
least in the meantime) would it be ok if i stash the func descriptor passed into convert_from_func_ptr_addr into a "cache" in the
tdep structure, and in push_dummy_call check the passed in funcaddr
against the cached value?