mirror of
https://github.com/mawww/kakoune.git
synced 2024-12-22 11:01:48 +03:00
Fix gdb String pretty printer
This commit is contained in:
parent
d8fb623367
commit
7bc923658e
@ -62,8 +62,7 @@ class String:
|
||||
self.val = val
|
||||
|
||||
def to_string(self):
|
||||
std_str = gdb.lookup_type("std::string")
|
||||
return self.val.cast(std_str)
|
||||
return "%s" % (self.val['m_data'])
|
||||
|
||||
class StringView:
|
||||
""" Print a StringView"""
|
||||
|
Loading…
Reference in New Issue
Block a user