From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31093 invoked by alias); 25 Aug 2006 00:13:52 -0000 Received: (qmail 31084 invoked by uid 22791); 25 Aug 2006 00:13:52 -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; Fri, 25 Aug 2006 00:13:48 +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 k7P0DhN2002803; Thu, 24 Aug 2006 20:13:43 -0400 Received: from localhost.redhat.com (vpn50-39.rdu.redhat.com [172.16.50.39]) by int-mx1.corp.redhat.com (8.12.11.20060308/8.12.11) with ESMTP id k7P0DbTk030959; Thu, 24 Aug 2006 20:13:37 -0400 Received: by localhost.redhat.com (Postfix, from userid 469) id 3949F1A4952; Thu, 24 Aug 2006 20:08:48 -0400 (EDT) From: Elena Zannoni MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <17646.16271.984460.625854@localhost.redhat.com> Date: Fri, 25 Aug 2006 00:13:00 -0000 To: Daniel Jacobowitz Cc: John Moser , gdb@sourceware.org Subject: Re: GDB pie In-Reply-To: <20060825000835.GA19638@nevyn.them.org> References: <1156463298.7320.9.camel@localhost> <20060825000835.GA19638@nevyn.them.org> X-Mailer: VM 7.17 under Emacs 21.4.1 X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2006-08/txt/msg00188.txt.bz2 I don't?? John, have a look at the redhat gdb rpm, the patches are in there. Daniel Jacobowitz writes: > On Thu, Aug 24, 2006 at 07:48:18PM -0400, John Moser wrote: > > It seems right now I can't get gdb to debug a program compiled with gcc > > as: > > > > gcc -fpic -fpie -ggdb pie.c -o pie > > > > Somewhere there were some patches floating around that allowed gdb to > > handle position independent executables; but I can't find them* and > > don't know if they're up to date. > > Look for the two branches in the CVS repository whose name contains > "pie". Elena was working on this, but ran out of time, and no longer > works on GDB. That's all I know about it. > > -- > Daniel Jacobowitz > CodeSourcery