def to_string(self): return self.val['s'].string(gdb.target_charset())
def to_string(self): len = self.val['length'] return self.val['null_str'].string (gdb.target_charset(), length = len)
def __set_charsets(): gdb.execute('set target-charset ' + gdb.target_charset()) gdb.execute('set target-wide-charset ' + gdb.target_wide_charset())
def to_string(self): len = self.val["length"] return self.val["null_str"].string(gdb.target_charset(), length=len)
def to_string(self): return self.val["s"].string(gdb.target_charset())