Chris Johns 3162858a3a gdb-python: Update so 'rtems task' lists the classic tasks.
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.
2014-08-26 14:57:57 +10:00

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)