Created attachment 625625 [details] stl string test Description of problem: A stl type, e.g. a string, is not displayed using the libstdcxx printers.py: insight -n a.out ...<and in the console window> (gdb) print hello $1 = {static npos = <optimized out>, _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>}, _M_p = 0x602028 "Ni Hao"}} Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. g++ hello.cxx 2. insight -n ./a.out 3. b 8 run print hello Actual results: Expected results: print hello "Ni hao" Additional info:
This is happening because the insight executable was built without python support: $ insight -nw -q (gdb) python print hello Python scripting is not supported in this copy of GDB.
@Keith: thanks for the hint, you saved me a lot of investigations :-)
insight-7.4.50-4.20120403cvs.fc17 has been submitted as an update for Fedora 17. https://admin.fedoraproject.org/updates/insight-7.4.50-4.20120403cvs.fc17
insight-7.4.50-4.20120403cvs.fc16 has been submitted as an update for Fedora 16. https://admin.fedoraproject.org/updates/insight-7.4.50-4.20120403cvs.fc16
insight-7.4.50-4.20120403cvs.fc18 has been submitted as an update for Fedora 18. https://admin.fedoraproject.org/updates/insight-7.4.50-4.20120403cvs.fc18
Package insight-7.4.50-4.20120403cvs.fc16: * should fix your issue, * was pushed to the Fedora 16 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing insight-7.4.50-4.20120403cvs.fc16' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2012-18300/insight-7.4.50-4.20120403cvs.fc16 then log in and leave karma (feedback).
insight-7.4.50-4.20120403cvs.fc18 has been pushed to the Fedora 18 stable repository. If problems still persist, please make note of it in this bug report.
insight-7.4.50-4.20120403cvs.fc16 has been pushed to the Fedora 16 stable repository. If problems still persist, please make note of it in this bug report.
insight-7.4.50-4.20120403cvs.fc17 has been pushed to the Fedora 17 stable repository. If problems still persist, please make note of it in this bug report.