mirror of
https://git.rtems.org/rtems-tools/
synced 2025-10-19 04:16:47 +08:00
Refactor
- pretty printers moved to pretty module - command and subcommands get own module
This commit is contained in:

committed by
Chris Johns

parent
2c25dc56ed
commit
8d035f8556
19
tools/gdb/python/main.py
Normal file
19
tools/gdb/python/main.py
Normal file
@@ -0,0 +1,19 @@
|
||||
#
|
||||
# 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()
|
Reference in New Issue
Block a user