|Summary:||error in re-setting breakpoint for position independent executable.|
|Component:||gdb||Assignee:||Not yet assigned to anyone <unassigned>|
Description pluto 2008-04-15 10:18:01 UTC
[Converted from Gnats 2448] Release: gdb-6.8 Environment: gcc-4.3.0, glibc-2.7, kernel-188.8.131.52. How-To-Repeat: $ gcc 0.c -o 0 -fpie -pie -g2 $ gdb ./0 (gdb) break main Breakpoint 1 at 0x6d8: file 0.c, line 3. (gdb) r Starting program: /home/users/pluto/src/0/0 Error in re-setting breakpoint 1: Cannot access memory at address 0x6d4 Error in re-setting breakpoint 1: Cannot access memory at address 0x6d4 Program exited normally.
Comment 1 Pawel Sikora 2009-03-12 09:47:22 UTC
ping, the gdb from FC works with -fpie executables. could some gdb guru look at http://cvs.fedora.redhat.com/viewvc/devel/gdb/ and apply suitable fix to gdb repository?
Comment 2 Tom Tromey 2010-08-24 21:38:58 UTC
The PIE patches are all in. I think they were in 7.1.