summaryrefslogtreecommitdiffstats
path: root/tools/gdb/python/rtems.py
diff options
context:
space:
mode:
Diffstat (limited to 'tools/gdb/python/rtems.py')
-rw-r--r--tools/gdb/python/rtems.py9
1 files changed, 5 insertions, 4 deletions
diff --git a/tools/gdb/python/rtems.py b/tools/gdb/python/rtems.py
index e227c6f..398f4e5 100644
--- a/tools/gdb/python/rtems.py
+++ b/tools/gdb/python/rtems.py
@@ -72,12 +72,13 @@ class rtems_object(gdb.Command):
objects = {
'classic/semaphores': lambda id: classic.semaphore(id),
- 'classic/tasks': lambda id: classic.task(id)
+ 'classic/tasks': lambda id: classic.task(id),
+ 'classic/message_queues': lambda id: classic.message_queue(id)
}
def __init__(self):
self.__doc__ = 'Display the RTEMS object given a numeric ID.'
- super(rtems_object, self).__init__('rtems object',
+ super(rtems_object, self).__init__('rtems object',
gdb.COMMAND_STATUS)
def invoke(self, arg, from_tty):
@@ -98,7 +99,7 @@ class rtems_object(gdb.Command):
object = self.objects[objectname](id)
object.show(from_tty)
objects.information.invalidate()
-
+
#
# Main
#
@@ -107,4 +108,4 @@ build_rtems_dict()
gdb.pretty_printers = []
gdb.pretty_printers.append (lookup_function)
rtems()
-rtems_object()
+rtems_object() \ No newline at end of file