summaryrefslogtreecommitdiff
path: root/tools/gdb/python/main.py
blob: 0ec4a28b975163d54e3980ce6bb78d98cb89ac34 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#
# RTEMS GDB Extensions
#
# main

import gdb
import pretty
import rtems

gdb.pretty_printers = []
gdb.pretty_printers.append(pretty.lookup_function)

# Register commands
# rtems and subcommands
rtems.rtems()
rtems.rtems_object()
rtems.rtems_semaphore()
rtems.rtems_task()
rtems.rtems_message_queue()
rtems.rtems_tod()