[patch/rfc/hppa] handle setting gp for calling shlib functions
Andrew Cagney
cagney@gnu.org
Fri Apr 30 14:25:00 GMT 2004
>>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?
Er, no, we're going to fix it.
Andrew
More information about the Gdb-patches
mailing list