RFA: patch to display ia64 function pointers

J. Johnston jjohnstn@redhat.com
Tue Aug 26 17:34:00 GMT 2003



Kevin Buettner wrote:
> On Jul 31,  6:01pm, J. Johnston wrote:
> 
> 
>>The following patch fixes the problem when displaying structs or function
>>pointers that actually point to a function descriptor per the ia64 ABI.
>>Currently, the function descriptor pointer is erroneously interpreted as
>>pointing to a function and so gdb spits out some meaningless information.
>>
>>With the patch, you get to see the actual function that the pointer
>>is referencing via the function descriptor.
>>
>>Ok to commit?
>>
>>2003-07-31  Jeff Johnston  <jjohnstn@redhat.com>
>>
>>	* ia64-tdep.c (ia64_convert_from_func_addr): New function.
>>	(ia64_gdbarch_init): Call set_gdbarch_convert_from_func_addr().
> 
> 
> Okay.
> 
> Thanks,
> 
> Kevin
> 
> P.S. Please let me know if you're waiting on me to review any more of
> your patches.
> 

Patch checked in, thanks.  No outstanding ia64 patches at the moment.
There is a testsuite change to dump.exp to accomodate ia64 which I
have submitted.  I am also about to submit a change to prologue examination
to handle glibc's sleep() function.

-- Jeff J.



More information about the Gdb-patches mailing list