Package: gdb Version: 7.4.1-1.1 Severity: normal Dear Debian folks,
I am sorry if this is a libc6 issue and if I assigned this to GDB
incorrectly.
Wanting to debug an issue in klogd, report #680099 [1], GDB does not
find the debugging symbols for libc6.
$ ps aux | grep klogd
klog 1741 92.4 0.0 2992 1652 ? Rs 09:33 32:03
/sbin/klogd -P /var/run/klogd/kmsg
$ sudo gdb --pid 1741
GNU gdb (GDB) 7.4.1-debian
Copyright (C) 2012 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later
<http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show
copying"
and "show warranty" for details.
This GDB was configured as "i486-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Attaching to process 1741
Reading symbols from /sbin/klogd...(no debugging symbols found)...done.
Reading symbols from /lib/i386-linux-gnu/i686/cmov/libc.so.6...Reading
symbols from /usr/lib/debug/lib/i386-linux-gnu/i686/cmov/libc-2.13.so...done.
done.
Loaded symbols for /lib/i386-linux-gnu/i686/cmov/libc.so.6
Reading symbols from /lib/ld-linux.so.2...(no debugging symbols
found)...done.
Loaded symbols for /lib/ld-linux.so.2
The right packages are installed though.
$ aptitude search libc6 # descriptions manually removed
i libc6
c libc6-amd64
i libc6-dbg
i A libc6-dev
p libc6-dev-amd64
i libc6-i686
p libc6-pic
p libc6-prof
p libc6-xen
$ ls -l /lib/ld-linux.so.2
lrwxrwxrwx 1 root root 25 Jun 30 08:15 /lib/ld-linux.so.2 ->
i386-linux-gnu/ld-2.13.so
$ ls -l /lib/i386-linux-gnu/ld-2.13.so
-rwxr-xr-x 1 root root 117960 Jun 30 08:15
/lib/i386-linux-gnu/ld-2.13.so
$ dpkg -L libc6-dbg | grep ld-2.13.so
/usr/lib/debug/lib/i386-linux-gnu/ld-2.13.so
/usr/lib/debug/lib/i386-linux-gnu/i686/cmov/ld-2.13.so
/usr/lib/debug/lib/i386-linux-gnu/i686/nosegneg/ld-2.13.so
So GDB should find and use
`/usr/lib/debug/lib/i386-linux-gnu/ld-2.13.so`, should not it?
Might this be related to multiarch changes? Anyway, I have no clue
whatsoever.
Thanks,
Paul
[1] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=680099
-- System Information:
Debian Release: wheezy/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1,
'experimental')
Architecture: i386 (i686)
Kernel: Linux 3.5.0-rc5+ (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages gdb depends on:
ii gdbserver 7.4.1-1.1
ii libc6 2.13-34
ii libexpat1 2.1.0-1
ii libncurses5 5.9-10
ii libpython2.7 2.7.3-1
ii libreadline6 6.2-8
ii libtinfo5 5.9-10
ii zlib1g 1:1.2.7.dfsg-13
gdb recommends no packages.
Versions of packages gdb suggests:
pn gdb-doc <none>
-- no debconf information
signature.asc
Description: This is a digitally signed message part

