This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.
See the CrossGCC FAQ for lots more information.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
On 07/20/2011 11:04 AM, ANDY KENNEDY wrote:aOn 07/19/2011 08:39 AM, ANDY KENNEDY wrote:All,gnu/sysroot/lib/libstdc++.so.6.0.15-gdb.py", line 59, in<module>
The error:
Traceback (most recent call last): File "/opt/toolchains/mips/mips/mips-linux-from libstdcxx.v6.printers importregister_libstdcxx_printerstheImportError: No module named libstdcxx.v6.printers Stopped due to shared library event
I've looked around and found that this has something to do withPython "pretty print" libraries. Now, granted, I'm working off(relatively) very old CrossTool-NG, however, I'm not aboveupdatingif 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
python import sys sys.path.insert(0, '~/python') from libstdcxx.v6.printers import register_libstdcxx_printers register_libstdcxx_printers (None) end
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 ?
That is where they are running gdb from.
The only problem we had with your script is '~/python' didn't evaluate to anything, but that is an easy work-around to fix another day.
Thanks for the help!
Andy
-- For unsubscribe information see http://sourceware.org/lists.html#faq
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |