public inbox for gdb-prs@sourceware.org help / color / mirror / Atom feed
* [Bug python/11248] New: Error while printing std::string with printers @ 2010-02-04 12:31 roman dot simakov at gmail dot com 2010-02-04 15:03 ` [Bug python/11248] " pmuldoon at redhat dot com 2010-02-04 16:47 ` roman dot simakov at gmail dot com 0 siblings, 2 replies; 3+ messages in thread From: roman dot simakov at gmail dot com @ 2010-02-04 12:31 UTC (permalink / raw) To: gdb-prs I have an error: #2 0x00000000004faf27 in storage::StorageImpl::open (this=0x7655a0, storageDescriptorFilePath= Traceback (most recent call last): File "/home/roman/gdb_libstd/python/libstdcxx/v6/printers.py", line 549, in to_string return self.val['_M_dataplus']['_M_p'].lazy_string (length = len) AttributeError: 'gdb.Value' object has no attribute 'lazy_string' , cacheSize=256) at /home/roman/docs/prj/scidb-rep/trunk/src/smgr/io/src/Storage.cpp:521 521 fprintf(f, "%s.header\n", databaseName.c_str()); -- Summary: Error while printing std::string with printers Product: gdb Version: 7.0 Status: UNCONFIRMED Severity: normal Priority: P2 Component: python AssignedTo: unassigned at sourceware dot org ReportedBy: roman dot simakov at gmail dot com CC: gdb-prs at sourceware dot org http://sourceware.org/bugzilla/show_bug.cgi?id=11248 ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is. ^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug python/11248] Error while printing std::string with printers 2010-02-04 12:31 [Bug python/11248] New: Error while printing std::string with printers roman dot simakov at gmail dot com @ 2010-02-04 15:03 ` pmuldoon at redhat dot com 2010-02-04 16:47 ` roman dot simakov at gmail dot com 1 sibling, 0 replies; 3+ messages in thread From: pmuldoon at redhat dot com @ 2010-02-04 15:03 UTC (permalink / raw) To: gdb-prs ------- Additional Comments From pmuldoon at redhat dot com 2010-02-04 15:03 ------- This bug: http://sourceware.org/bugzilla/show_bug.cgi?id=10705 moved us to using lazy string encoding. This was a patch to GDB (cvs head) and a patch in the libstdc++ printers.py. It looks like you have the new printers.py, but an older GDB. This should be resolved in FSF release 7.1 soon. If you are using a custom build, you can probably reverse the printers.py patch and carry on as your were. The patch for printers.py is here: http://gcc.gnu.org/viewcvs?view=revision&revision=155951 -- http://sourceware.org/bugzilla/show_bug.cgi?id=11248 ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is. ^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug python/11248] Error while printing std::string with printers 2010-02-04 12:31 [Bug python/11248] New: Error while printing std::string with printers roman dot simakov at gmail dot com 2010-02-04 15:03 ` [Bug python/11248] " pmuldoon at redhat dot com @ 2010-02-04 16:47 ` roman dot simakov at gmail dot com 1 sibling, 0 replies; 3+ messages in thread From: roman dot simakov at gmail dot com @ 2010-02-04 16:47 UTC (permalink / raw) To: gdb-prs ------- Additional Comments From roman dot simakov at gmail dot com 2010-02-04 16:47 ------- OK. I see. Thanks. Will use previus printers.py until 7.1 is released. -- What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |WONTFIX http://sourceware.org/bugzilla/show_bug.cgi?id=11248 ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is. ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2010-02-04 16:47 UTC | newest] Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2010-02-04 12:31 [Bug python/11248] New: Error while printing std::string with printers roman dot simakov at gmail dot com 2010-02-04 15:03 ` [Bug python/11248] " pmuldoon at redhat dot com 2010-02-04 16:47 ` roman dot simakov at gmail dot com
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).