summaryrefslogtreecommitdiffstats
path: root/tools/gdb/python/main.py
blob: 6fb7c54b84acaa596825cfb39fbb302c3be871ba (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#
# 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()
rtems.rtems_wdt()
rtems.rtems_wsec()