diff options
author | Chris Johns <chrisj@rtems.org> | 2014-08-26 14:57:57 +1000 |
---|---|---|
committer | Chris Johns <chrisj@rtems.org> | 2014-08-26 14:57:57 +1000 |
commit | 3162858a3a0ec414d2b5ce3d9153ca0efb2c9d27 (patch) | |
tree | c3e84f6cba14b44d519d302566c0c4b581b51c60 /tools/gdb/python/wscript | |
parent | 4dbd0db60d1d0a3af7c2311911d6a6a638ccca84 (diff) |
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.
Diffstat (limited to '')
-rw-r--r-- | tools/gdb/python/wscript | 34 |
1 files changed, 19 insertions, 15 deletions
diff --git a/tools/gdb/python/wscript b/tools/gdb/python/wscript index 22d44e8..a7f428c 100644 --- a/tools/gdb/python/wscript +++ b/tools/gdb/python/wscript @@ -6,18 +6,22 @@ def configure(conf): conf.load('python') def build(bld): - bld.install_files('${PREFIX}/share/gdb/python/rtems', - ['chains.py', - 'classic.py', - 'classic_printer.py', - 'heaps.py', - 'helper.py', - 'main.py', - 'objects.py', - 'pretty.py', - 'rtems.py', - 'sparc.py', - 'supercore.py', - 'supercore_printer.py', - 'threads.py', - 'watchdog.py']) + 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) |