summaryrefslogtreecommitdiff
path: root/tools/gdb/python/objects.py
diff options
context:
space:
mode:
authorDhananjay Balan <mb.dhananjay@gmail.com>2013-07-09 14:37:20 +0530
committerChris Johns <chrisj@rtems.org>2014-08-25 09:52:40 +1000
commit385640641ef618061cc0d26f711a54bf95661124 (patch)
tree50f6435f3ab31a25e5cee2102f32df5f5b5fcd7f /tools/gdb/python/objects.py
parentf814c7629cf5c87f0262ee877116166a02241c84 (diff)
Fix pretty printers
pretty printers for rtems_id and rtems_attribute
Diffstat (limited to '')
-rw-r--r--tools/gdb/python/objects.py4
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))