Package: libstdc++6-4.4-dbg
Version: 4.4.5-8
Severity: grave

Dear packager,

I believe the current -dbg package is not working as it should. Here is what I 
did:

$ g++ -o bla -g bla.cxx
$ gdb bla
GNU gdb (GDB) 7.3-debian
Copyright (C) 2011 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 "x86_64-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /tmp/bla...done.
(gdb) set verbose on
(gdb) r
Starting program: /tmp/bla 
Reading symbols from /lib64/ld-linux-x86-64.so.2...Reading symbols from 
/usr/lib/debug/lib/ld-2.11.3.so...done.
done.
Loaded symbols for /lib64/ld-linux-x86-64.so.2
Reading symbols from system-supplied DSO at 0x7ffff7ffb000...(no debugging 
symbols found)...done.
Reading in symbols for dl-debug.c...done.
Reading in symbols for rtld.c...done.
Reading symbols from /usr/lib/libstdc++.so.6...(no debugging symbols 
found)...done.
Loaded symbols for /usr/lib/libstdc++.so.6
Reading symbols from /lib/libm.so.6...Reading symbols from 
/usr/lib/debug/lib/libm-2.11.3.so...done.
done.
Loaded symbols for /lib/libm.so.6
Reading symbols from /lib/libgcc_s.so.1...Reading symbols from 
/usr/lib/debug/lib/libgcc_s.so.1...done.
done.
Loaded symbols for /lib/libgcc_s.so.1
Reading symbols from /lib/libc.so.6...Reading symbols from 
/usr/lib/debug/lib/libc-2.11.3.so...done.
done.
Loaded symbols for /lib/libc.so.6
[Inferior 1 (process 22268) exited normally]
(gdb) show debug-file-directory
The directory where separate debug symbols are searched for is "/usr/lib/debug".





However the -dbg package is there:

$ apt-cache policy libstdc++6-4.4-dbg
libstdc++6-4.4-dbg:
  Installed: 4.4.5-8
  Candidate: 4.4.5-8
  Version table:
     4.4.7-3 0
        100 http://ftp.fr.debian.org/debian/ unstable/main amd64 Packages
     4.4.7-2 0
        200 http://ftp.fr.debian.org/debian/ testing/main amd64 Packages
 *** 4.4.5-8 0
        500 http://ftp.fr.debian.org/debian/ squeeze/main amd64 Packages
        100 /var/lib/dpkg/status


For some reason gdb always pick the non-debug version from:

$ apt-cache policy libstdc++6
libstdc++6:
  Installed: 4.4.5-8
  Candidate: 4.4.5-8
  Version table:
     4.8-20121218-1 0
         -1 http://ftp.fr.debian.org/debian/ experimental/main amd64 Packages
     4.7.2-4 0
        200 http://ftp.fr.debian.org/debian/ testing/main amd64 Packages
        100 http://ftp.fr.debian.org/debian/ unstable/main amd64 Packages
 *** 4.4.5-8 0
        500 http://ftp.fr.debian.org/debian/ squeeze/main amd64 Packages
        100 /var/lib/dpkg/status


Thanks

-- System Information:
Debian Release: 6.0.6
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable'), (200, 'testing'), (100, 
'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-0.bpo.3-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages libstdc++6-4.4-dbg depends on:
ii  gcc-4.4-base                  4.4.5-8    The GNU Compiler Collection (base 
ii  libc6                         2.11.3-4   Embedded GNU C Library: Shared lib
ii  libgcc1                       1:4.4.5-8  GCC support library
ii  libgcc1-dbg                   1:4.4.5-8  GCC support library (debug symbols
ii  libstdc++6                    4.4.5-8    The GNU Standard C++ Library v3

Versions of packages libstdc++6-4.4-dbg recommends:
ii  libstdc++6-4.4-dev            4.4.5-8    The GNU Standard C++ Library v3 (d

libstdc++6-4.4-dbg suggests no packages.

-- debconf-show failed


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to