From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18961 invoked by alias); 6 Jul 2006 16:10:34 -0000 Received: (qmail 18953 invoked by uid 22791); 6 Jul 2006 16:10:34 -0000 X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (66.187.233.31) by sourceware.org (qpsmtpd/0.31) with ESMTP; Thu, 06 Jul 2006 16:10:32 +0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.12.11.20060308/8.12.11) with ESMTP id k66GAU3v008433 for ; Thu, 6 Jul 2006 12:10:30 -0400 Received: from pobox.corp.redhat.com (pobox.corp.redhat.com [172.16.52.156]) by int-mx1.corp.redhat.com (8.12.11.20060308/8.12.11) with ESMTP id k66GAUr5010570 for ; Thu, 6 Jul 2006 12:10:30 -0400 Received: from localhost.localdomain (vpn50-8.rdu.redhat.com [172.16.50.8]) by pobox.corp.redhat.com (8.12.8/8.12.8) with ESMTP id k66GATXn004047 for ; Thu, 6 Jul 2006 12:10:30 -0400 Received: from ironwood.lan (ironwood.lan [192.168.64.8]) by localhost.localdomain (8.12.11/8.12.10) with ESMTP id k66GAT12022527 for ; Thu, 6 Jul 2006 09:10:29 -0700 Date: Thu, 06 Jul 2006 16:10:00 -0000 From: Kevin Buettner To: gdb-patches@sources.redhat.com Subject: Re: [patch] Fixes problem setting breakpoint in dynamic loader Message-ID: <20060706091027.6160061f@ironwood.lan> In-Reply-To: <1152143843.6282.49.camel@dufur.beaverton.ibm.com> References: <1148513171.315.104.camel@dufur.beaverton.ibm.com> <200606172021.k5HKL82O013629@elgar.sibelius.xs4all.nl> <1152143843.6282.49.camel@dufur.beaverton.ibm.com> X-Mailer: Sylpheed-Claws 2.0.0 (GTK+ 2.6.10; i386-redhat-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2006-07/txt/msg00036.txt.bz2 On Wed, 05 Jul 2006 16:57:23 -0700 PAUL GILLIAM wrote: > + /* What we're looking for here is the machine code entry point, > + so we are only interested in symbols in code sections. > + > + On ABI's that use function descriptors, the linker symbol with > + the same name as a C funtion points to that functions descriptor. > + When those function descriptors are in the code section, they > + contain executable code and we can set a breakpoint there. */ See my earlier post regarding this comment: http://sources.redhat.com/ml/gdb-patches/2006-06/msg00382.html In addition to the problems that Daniel has found, there are three other punctuation / spelling problems that I had brought to your attention. Kevin