diff options
Diffstat (limited to 'tools/gdb/python/classic.py')
-rw-r--r-- | tools/gdb/python/classic.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/gdb/python/classic.py b/tools/gdb/python/classic.py index 99d6397..d3f624d 100644 --- a/tools/gdb/python/classic.py +++ b/tools/gdb/python/classic.py @@ -101,7 +101,7 @@ class attribute: class attribute_printer: def __init__(self, attr): - self.attr = attr + self.attr = attribute(attr,'all') def to_string(self): return gdb.Value(self.attr.to_string()) @@ -229,3 +229,5 @@ class message_queue: def show(self, from_tty): print ' Name:', self.object_control.name() print ' Attr:', self.attr.to_string() + + |