This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Does gdb support PIE?
- From: "H. J. Lu" <hjl at lucon dot org>
- To: GDB <gdb at sources dot redhat dot com>
- Date: Tue, 31 Jan 2006 09:45:29 -0800
- Subject: Does gdb support PIE?
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.