Bug 157946 - gdb doesn't relocate symbols of PIE executables
Summary: gdb doesn't relocate symbols of PIE executables
Status: RESOLVED DUPLICATE of bug 139573
Alias: None
Product: SUSE Linux 10.1
Classification: openSUSE
Component: Development (show other bugs)
Version: Beta 8
Hardware: i386 Other
: P5 - None : Blocker (vote)
Target Milestone: ---
Assignee: Andreas Schwab
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-03-14 15:01 UTC by Jan Blunck
Modified: 2006-03-14 15:25 UTC (History)
1 user (show)

See Also:
Found By: Development
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Blunck 2006-03-14 15:01:40 UTC
This is a bug found in stable.

jblunck@hasse:~> gdb /usr/bin/host
GNU gdb 6.4
Copyright 2005 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 "i586-suse-linux"...Using host libthread_db library "/lib/libthread_db.so.1".

(gdb) b main
Breakpoint 1 at 0x3a00: file host.c, line 714.
(gdb) run
Starting program: /usr/bin/host
Warning:
Cannot insert breakpoint 1.
Error accessing memory address 0x3a00: Input/output error.

(gdb) quit
The program is running.  Exit anyway? (y or n) y
jblunck@hasse:~> nm /usr/lib/debug/usr/bin/host.debug | grep main
         U __libc_start_main@@GLIBC_2.0
00003a00 T main
00005c70 T set_search_domain
jblunck@hasse:~>
Comment 1 Andreas Schwab 2006-03-14 15:25:14 UTC

*** This bug has been marked as a duplicate of 139573 ***