[patch/rfc/hppa] handle setting gp for calling shlib functions

Randolph Chung randolph@tausq.org
Fri Apr 30 04:04: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?

randolph
-- 
Randolph Chung
Debian GNU/Linux Developer, hppa/ia64 ports
http://www.tausq.org/



More information about the Gdb-patches mailing list