GDB 7.0 added pretty prnting for STL object. However this implementation supports only GCC version of STL. If you are using Dinkum STL implementation for example, you probably see this message:
File "c:/development/bbndk/python\libstdcxx\v6\printers.py", line 588, in to_string
ptr = self.val ['_M_dataplus']['_M_p']
gdb.error: There is no member or method named _M_dataplus.
Does anybody knows about open开发者_JS百科 source or commertial implementation of pretty printer library compatible with Dinkum?
Modifying libstdcxx/v6/printers.py to work with Dinkum STL ought to be pretty trivial.
Does anybody knows about open source or commertial implementation of pretty printer library compatible with Dinkum
Ask Dinkum?
精彩评论