mirror of
https://git.rtems.org/rtems-tools/
synced 2025-10-20 06:26:09 +08:00
Fix pretty printers
pretty printers for rtems_id and rtems_attribute
This commit is contained in:

committed by
Chris Johns

parent
f814c7629c
commit
385640641e
@@ -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))
|
||||
|
Reference in New Issue
Block a user