This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: RFA: patch to display ia64 function pointers
- From: Kevin Buettner <kevinb at redhat dot com>
- To: "J. Johnston" <jjohnstn at redhat dot com>, gdb-patches at sources dot redhat dot com
- Date: Mon, 25 Aug 2003 14:12:38 -0700
- Subject: Re: RFA: patch to display ia64 function pointers
- References: <3F2991AA.2050400@redhat.com>
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.