This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH 24700]
On Thu, Mar 01, 2007 at 05:05:36PM -0400, Jose Flavio Aguilar Paulino wrote:
> The problem was that 'ppc64_linux_convert_from_func_ptr_addr()' first wanted to
> make sure that the function pointer for 'malloc()' pointed into an .opd section
> before it was 'dereferenced' It used 'target_section_by_addr()' to do the
> search, and the section containing the PLT pointed to by the function pointer
> was not in the section table being searched. But there is another section
> table.
Actually, there's a ton of section tables - this is an organizational
problem in GDB. Originally they all meant different things.
Does using find_pc_section instead work in all cases?
--
Daniel Jacobowitz
CodeSourcery