This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: RFA: patch to display ia64 function pointers




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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]