From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12519 invoked by alias); 10 Jan 2010 22:27:00 -0000 Received: (qmail 12506 invoked by uid 22791); 10 Jan 2010 22:26:59 -0000 X-SWARE-Spam-Status: No, hits=-2.4 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sun, 10 Jan 2010 22:26:55 +0000 Received: from int-mx05.intmail.prod.int.phx2.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.18]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id o0AMQpTe016199 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Sun, 10 Jan 2010 17:26:51 -0500 Received: from host0.dyn.jankratochvil.net (ovpn01.gateway.prod.ext.phx2.redhat.com [10.5.9.1]) by int-mx05.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id o0AMQheW019902 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 10 Jan 2010 17:26:50 -0500 Received: from host0.dyn.jankratochvil.net (localhost [127.0.0.1]) by host0.dyn.jankratochvil.net (8.14.3/8.14.3) with ESMTP id o0AMQfEp003391; Sun, 10 Jan 2010 23:26:41 +0100 Received: (from jkratoch@localhost) by host0.dyn.jankratochvil.net (8.14.3/8.14.3/Submit) id o0AMQbqJ003387; Sun, 10 Jan 2010 23:26:37 +0100 Date: Sun, 10 Jan 2010 22:27:00 -0000 From: Jan Kratochvil To: Eli Zaretskii Cc: tromey@redhat.com, gdb-patches@sourceware.org, jjohnstn@redhat.com Subject: Re: [patch 00/15] PIE: Position Independent Executable support Message-ID: <20100110222637.GA3292@host0.dyn.jankratochvil.net> References: <20091109205633.GA19138@host0.dyn.jankratochvil.net> <20100110202448.GL10482@host0.dyn.jankratochvil.net> <83k4vp8vos.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <83k4vp8vos.fsf@gnu.org> User-Agent: Mutt/1.5.20 (2009-08-17) 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: 2010-01/txt/msg00235.txt.bz2 On Sun, 10 Jan 2010 23:02:59 +0100, Eli Zaretskii wrote: > > +PIE (Position Independent Executable) programs debugging is now supported. > > +This includes debugging execution of PIC (Position Independent Code) shared > > +libraries although such libraries must first support their execution. > ^ > A comma here OK, in next mail. > Also, by "such libraries must first support their execution", do you > mean the libraries should support PIE programs? If so, I think saying > that would make this a lot clearer. No... $ /lib64/libc.so.6 GNU C Library stable release version 2.11.1, by Roland McGrath et al. [...] vs. $ /lib64/libz.so.1 Segmentation fault One can debug now the former but debugging the latter is not much productive. A more clear wording is welcome, I tried. Thanks, Jan