------- Comment #1 from redi at gcc dot gnu dot org 2010-08-25 14:12 ------- It's nothing to do with unordered_map, it's std::string, and it fails because lazy_string was added in GDB 7.1
we can probably do something like
if (gdb.VERSION == '7.0'):
return '"' + self.val['_M_dataplus']['_M_p'].string (length = len)
+ '"'
return self.val['_M_dataplus']['_M_p'].lazy_string (length = len)
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45403
