From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25736 invoked by alias); 31 Jan 2006 18:09:43 -0000 Received: (qmail 25728 invoked by uid 22791); 31 Jan 2006 18:09:42 -0000 X-Spam-Check-By: sourceware.org Received: from smtp103.sbc.mail.mud.yahoo.com (HELO smtp103.sbc.mail.mud.yahoo.com) (68.142.198.202) by sourceware.org (qpsmtpd/0.31) with SMTP; Tue, 31 Jan 2006 18:09:41 +0000 Received: (qmail 4966 invoked from network); 31 Jan 2006 17:45:30 -0000 Received: from unknown (HELO lucon.org) (hjjean@sbcglobal.net@71.138.13.192 with login) by smtp103.sbc.mail.mud.yahoo.com with SMTP; 31 Jan 2006 17:45:30 -0000 Received: by lucon.org (Postfix, from userid 1000) id EB67A64909; Tue, 31 Jan 2006 09:45:29 -0800 (PST) Date: Tue, 31 Jan 2006 19:03:00 -0000 From: "H. J. Lu" To: GDB Subject: Does gdb support PIE? Message-ID: <20060131174529.GA12353@lucon.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.1i 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-01/txt/msg00336.txt.bz2 I got [hjl@gnu-16 pie-5]$ gdb pie GNU gdb 6.4.50.20060115-cvs Copyright (C) 2006 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "x86_64-unknown-linux-gnu"...Using host libthread_db library "/lib64/tls/libthread_db.so.1". (gdb) b main Breakpoint 1 at 0x918: file main.c, line 6. (gdb) r Starting program: /export/home/hjl/bugs/binutils/pie-5/pie Warning: Cannot insert breakpoint 1. Error accessing memory address 0x918: Input/output error. H.J.