mirror of
https://git.rtems.org/rtems-tools/
synced 2025-07-22 20:45:36 +08:00

This is a first pass at cleaning up the support. To use: $ waf configure --prefix=$HOME/development/rtems/4.11 $ waf build install Start GDB and break at Init: (gdb) py import rtems (gdb) rtems task will list the classic API tasks.
28 lines
718 B
Python
28 lines
718 B
Python
#
|
|
# Install the RTEMS gdb python
|
|
#
|
|
|
|
def configure(conf):
|
|
conf.load('python')
|
|
|
|
def build(bld):
|
|
source = ['__init__.py',
|
|
'chains.py',
|
|
'classic.py',
|
|
'classic_printer.py',
|
|
'configuration.py',
|
|
'heaps.py',
|
|
'helper.py',
|
|
'main.py',
|
|
'objects.py',
|
|
'percpu.py',
|
|
'pretty.py',
|
|
'rtems.py',
|
|
'sparc.py',
|
|
'supercore.py',
|
|
'supercore_printer.py',
|
|
'threads.py',
|
|
'watchdog.py']
|
|
bld(features = 'py', source = source, install_path = None)
|
|
bld.install_files('${PREFIX}/share/gdb/python/rtems', source)
|