[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#701935: libstdc++6-4.7-dbg: Pretty-printers appear not to load (but do)



Package: libstdc++6-4.7-dbg
Version: 4.7.2-5
Severity: normal

Dear Maintainer,

With this package installed, running GDB on programs using libstdc++
is giving a confusing error message, which gives the impression that
they haven't loaded, even though they actually do load:

,----
| naesten@hydrogen:~/hacking/crawl/crawl-ref/source% gdb rltiles/tool/tilegen.elf
| GNU gdb (GDB) 7.5.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/>...
| Reading symbols from /home/naesten/hacking/crawl/crawl-ref/source/rltiles/tool/tilegen.elf...done.
| (gdb) start
| Temporary breakpoint 1 at 0x805c4ed: file tool/main.cc, line 16.
| Starting program: /home/naesten/hacking/crawl/crawl-ref/source/rltiles/tool/tilegen.elf
| [Thread debugging using libthread_db enabled]
| Using host libthread_db library "/lib/i386-linux-gnu/i686/cmov/libthread_db.so.1".
| Traceback (most recent call last):
|   File "/usr/lib/debug/usr/lib/i386-linux-gnu/libstdc++.so.6.0.17-gdb.py", line 62, in <module>
|     from libstdcxx.v6.printers import register_libstdcxx_printers
| ImportError: No module named libstdcxx.v6.printers
| 
| Temporary breakpoint 1, main (argc=1, argv=0xbffffa44) at tool/main.cc:16
| 16          int arg = 1;
| (gdb) python print sys.modules['libstdcxx.v6.printers']
| <module 'libstdcxx.v6.printers' from '/usr/lib/i386-linux-gnu/../../share/gcc-4.7/python/libstdcxx/v6/printers.py'>
| (gdb) info pretty-printer
|   objfile /usr/lib/i386-linux-gnu/libstdc++.so.6 pretty-printers:
|   libstdc++-v6
[Long list of types redacted]
| (gdb)
`----

(This happens with gdb/7.4.1+dfsg-0.1, too; I just don't have as nice a
session from that, since I did a "python import libstdcxx.v6.printers"
expecting it to fail before I even thought to check if it had actually
been imported already...)

This is in some ways pretty minor, since it shouldn't actually cause
anything to break, but it is also quite alarming at first glance, so I'm
not really sure about the severity.

-- System Information:
Debian Release: 7.0
  APT prefers testing-proposed-updates
  APT policy: (991, 'testing-proposed-updates'), (990, 'testing'), (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 3.2.0-4-686-pae (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages libstdc++6-4.7-dbg depends on:
ii  gcc-4.7-base  4.7.2-5
ii  libc6         2.13-38
ii  libgcc1       1:4.7.2-5
ii  libgcc1-dbg   1:4.7.2-5
ii  libstdc++6    4.7.2-5

Versions of packages libstdc++6-4.7-dbg recommends:
ii  libstdc++6-4.7-dev  4.7.2-5

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

-- no debconf information

-- 
Hi! I'm a .signature virus! Copy me into your ~/.signature to help me spread!


Reply to: