Skip to content

Commit

Permalink
use debugname in object pretty printer
Browse files Browse the repository at this point in the history
  • Loading branch information
timo committed Mar 16, 2017
1 parent a7b5f13 commit aae9bf4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tools/moar-gdb.py
Expand Up @@ -239,7 +239,9 @@ def stringify(self):

reprname = _repr['name'].string()

return str(self.val.type.name) + " of repr " + reprname
debugname = as_mvmobject['st']['debug_name']

return str(self.val.type.name) + " (" + debugname + ") of repr " + reprname

def to_string(self):
if self.pointer:
Expand Down

0 comments on commit aae9bf4

Please sign in to comment.