From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2122 invoked by alias); 23 Mar 2004 23:05:42 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 2073 invoked from network); 23 Mar 2004 23:05:37 -0000 Received: from unknown (HELO mail-out4.apple.com) (17.254.13.23) by sources.redhat.com with SMTP; 23 Mar 2004 23:05:37 -0000 Received: from mailgate1.apple.com (a17-128-100-225.apple.com [17.128.100.225]) by mail-out4.apple.com (8.12.11/8.12.11) with ESMTP id i2NN8Gv0006845 for ; Tue, 23 Mar 2004 15:08:16 -0800 (PST) Received: from relay3.apple.com (relay3.apple.com) by mailgate1.apple.com (Content Technologies SMTPRS 4.3.6) with ESMTP id ; Tue, 23 Mar 2004 15:05:35 -0800 Received: from apple.com ([17.112.104.142]) by relay3.apple.com (8.12.11/8.12.11) with ESMTP id i2NN5H0G007316; Tue, 23 Mar 2004 23:05:18 GMT Message-ID: <4060C2AD.1050700@apple.com> Date: Tue, 23 Mar 2004 23:47:00 -0000 From: Stan Shebs User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.6) Gecko/20040113 MIME-Version: 1.0 To: Elena Zannoni CC: gdb@sources.redhat.com Subject: Re: pie stuff References: <16480.36578.880196.780660@localhost.redhat.com> <4060B81A.1020209@apple.com> <16480.47916.994031.761792@localhost.redhat.com> In-Reply-To: <16480.47916.994031.761792@localhost.redhat.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2004-03/txt/msg00220.txt.bz2 Elena Zannoni wrote: >Stan Shebs writes: > > Elena Zannoni wrote: > > > > >A heads up, I am going to start committing pie support to my old > > >branch (which I am bringing up to date) in a few hours. I will then > > >merge it piecemeal to mainline. It's not that much code. More details > > >later. > > > > > I must not have gotten the memo - what's pie? (yeah, yeah, filled pastry > > that one eats :-) ) > > > > Stan > >exactly, next will be gdb brewing your own tea. Tea, earl grey, >hot. An appetizing combinations. And who says we never think about the >comfort of the poor users? > > And not even implausible! GDB could inject itself into the embedded systems that are in modern coffeemakers, through the stub into flash memory. Why run an *inferior* process when you can replace it with a *superior* debugger? >It's position independent executables. Your main exec is just like a >shared library. Every time you run it you get a different start >address. Not fun, I can tell you. gcc -fpie -pie -g -o blah blah.c > Heh heh, reminiscent of AIX hell... Stan