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

Bug#738341: libstdc++6-4.9-dbg:i386: Import error in gdb when running libstdc++.so.6.0.20-gdb.py



Package: libstdc++6-4.9-dbg
Version: 4.9-20140122-1
Severity: normal

Hi,

When trying to use the Python pretty printers in GDB, it choked on the
file /usr/lib/debug/usr/lib/i386-linux-gnu/libstdc++.so.6.0.20-gdb.py
with an import error.

I can't provide a proper patch ATM, but changing on line 24

libdir = '/usr/lib/i386-linux-gnu'

to

libdir = '/usr/lib/debug/usr/lib/i386-linux-gnu'

did the trick.

Please also note that this bug is also present in at least the 4.8
variant.

Cheers,

Simon


Reply to: