From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1688 invoked by alias); 1 Mar 2007 20:40:55 -0000 Received: (qmail 1679 invoked by uid 22791); 1 Mar 2007 20:40:54 -0000 X-Spam-Check-By: sourceware.org Received: from nevyn.them.org (HELO nevyn.them.org) (66.93.172.17) by sourceware.org (qpsmtpd/0.31.1) with ESMTP; Thu, 01 Mar 2007 20:40:49 +0000 Received: from dsl093-172-095.pit1.dsl.speakeasy.net ([66.93.172.95] helo=caradoc.them.org) by nevyn.them.org with esmtp (Exim 4.63) (envelope-from ) id 1HMs51-000435-A3; Thu, 01 Mar 2007 15:40:47 -0500 Received: from drow by caradoc.them.org with local (Exim 4.63) (envelope-from ) id 1HMs50-0001dx-NQ; Thu, 01 Mar 2007 15:40:46 -0500 Date: Thu, 01 Mar 2007 20:40:00 -0000 From: Daniel Jacobowitz To: Jose Flavio Aguilar Paulino Cc: gdb-patches@sourceware.org Subject: Re: [PATCH 24700] Message-ID: <20070301204046.GA5989@caradoc.them.org> Mail-Followup-To: Jose Flavio Aguilar Paulino , gdb-patches@sourceware.org References: <1172777198.10229.11.camel@kadinsky.prado> <20070301183700.GA19796@caradoc.them.org> <1172783136.10229.28.camel@kadinsky.prado> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1172783136.10229.28.camel@kadinsky.prado> User-Agent: Mutt/1.5.13 (2006-08-11) X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2007-03/txt/msg00005.txt.bz2 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