What lib am I missing to make GDB shut up?
Wed Jul 20 18:27:00 GMT 2011
On 07/20/2011 11:04 AM, ANDY KENNEDY wrote:
>> On 07/19/2011 08:39 AM, ANDY KENNEDY wrote:
>>> The error:
>>> Traceback (most recent call last):
>>> File "/opt/toolchains/mips/mips/mips-linux-
>> gnu/sysroot/lib/libstdc++.so.6.0.15-gdb.py", line 59, in<module>
>>> from libstdcxx.v6.printers import
>>> ImportError: No module named libstdcxx.v6.printers
>>> Stopped due to shared library event
>>> I've looked around and found that this has something to do with
>>> Python "pretty print" libraries. Now, granted, I'm working off a
>>> (relatively) very old CrossTool-NG, however, I'm not above
>>> if that is the fix.
>>> Any ideas why I'm getting such an error?
>> cd $HOME
>> svn co svn://gcc.gnu.org/svn/gcc/trunk/libstdc++-v3/python
>> in .gdbinit add the path to it
>> import sys
>> sys.path.insert(0, '~/python')
>> from libstdcxx.v6.printers import register_libstdcxx_printers
>> register_libstdcxx_printers (None)
>> Does that help
> Cool! Thanks for the help. I don't actually use Eclipse (I'm a
> vim/command line guy myself),
what does this has to do with eclipse ?
For unsubscribe information see http://sourceware.org/lists.html#faq
More information about the crossgcc