diff options
author | Dhananjay Balan <mb.dhananjay@gmail.com> | 2013-07-09 14:37:20 +0530 |
---|---|---|
committer | Chris Johns <chrisj@rtems.org> | 2014-08-25 09:52:40 +1000 |
commit | 385640641ef618061cc0d26f711a54bf95661124 (patch) | |
tree | 50f6435f3ab31a25e5cee2102f32df5f5b5fcd7f /tools/gdb/python/objects.py | |
parent | f814c7629cf5c87f0262ee877116166a02241c84 (diff) |
Fix pretty printers
pretty printers for rtems_id and rtems_attribute
Diffstat (limited to '')
-rw-r--r-- | tools/gdb/python/objects.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/gdb/python/objects.py b/tools/gdb/python/objects.py index bedf875..25353d7 100644 --- a/tools/gdb/python/objects.py +++ b/tools/gdb/python/objects.py @@ -307,8 +307,8 @@ class name_printer: """Pretty printer for an object's name. It has to guess the type as no information is available to help determine it.""" - def __init__(self, name): - self.name = name(name) + def __init__(self, nameval): + self.name = name(nameval) def to_string(self): return gdb.Value(str(self.name)) |