Chris Johns
7148caeb91
Add Windows specific waf support for MSYS2.
...
Limit the compilers used to gcc and clang. Clang has not been tested.
Users with MSVC install does not need to remove now.
Force the os.sep path to the standard '\\' on Windows. The MSYS2 python
sets it to '/' for internal project reasons. Doing this does cause waf
problems when running configure so only do this for the build target.
Closes #2583 .
2016-02-19 14:51:28 +11:00
Chris Johns
de1beea245
Disable installing PYO and PYC. Fix install paths.
...
Installing PYO and PYC does not work so disable this. Move the
Python check to the top level and have a single place.
Fix the install paths a revert the 'from . import' changes. This
is resolved by installing into the correct paths.
2016-02-19 11:26:51 +11:00
Sebastian Huber
04a52040ae
Python 3 compatibility
2015-11-12 11:15:23 +01:00
Chris Johns
b117be8e1f
gdb/python: Update the support to a recent RTEMS.
2015-03-17 13:12:15 +11:00
Adit Sahasrabudhe
01a419253a
Modified waf scripts to have a minimum python version requirement of 2.6.6, instead of 2.7.3
2015-02-25 20:46:02 +11:00
Chris Johns
b7d48ef5a4
Install the rtems-test command.
...
This installs the Python RTEMS Toolkit.
The copmiler has been switched from forcing gcc to allowing waf
to detect the host's tool chain.
2015-02-08 17:12:04 +11:00
Chris Johns
749ddf1ed5
waf: Include waf in the souce tree and updated README on building.
...
Add support to build all parts of The RTEMS Tools project.
2014-09-13 10:47:07 +10:00
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
Chris Johns
504e1de9de
gdb-python: Add waf script to install under a prefix.
2014-08-25 09:52:42 +10:00
Chris Johns
f750e82bbc
gdb-python: Clean up and ignore waf generated files.
2014-08-25 09:52:42 +10:00
Dhananjay Balan
bd0b98d55e
Add cpu registers to task output.
2014-08-25 09:52:42 +10:00
Dhananjay Balan
5a4834c641
Remove the header.
2014-08-25 09:52:41 +10:00
Dhananjay Balan
61154bf302
Add watchdog seconds command
...
- prints the watchdog chain managed at second boundaries.
2014-08-25 09:52:41 +10:00
Dhananjay Balan
1fcff75505
Fix wdticks command
...
- Type is Chain_Control
- chain.node.next -> null
2014-08-25 09:52:41 +10:00
Dhananjay Balan
a4d0739522
Add helper func.
...
- tests a bit at specified position.
2014-08-25 09:52:41 +10:00
Dhananjay Balan
a7176a8a7e
Add watchdog ticks command.
...
- ToDo : Fix watchdog states.
2014-08-25 09:52:41 +10:00
Dhananjay Balan
04d95ec2b2
Added register class
...
- sparc.register, basic represenation of sparc's registers.
2014-08-25 09:52:41 +10:00
Dhananjay Balan
788a71578f
Add sparc PSR
...
- added a class to print SPARC status register
2014-08-25 09:52:41 +10:00
Dhananjay Balan
7a415d4e43
Catch empty task names,
...
- All the tasks do not have a name.
2014-08-25 09:52:41 +10:00
Dhananjay Balan
a245635a2e
Add subcommand
...
rtems tod - prints the time of day.
2014-08-25 09:52:41 +10:00
Dhananjay Balan
a0bf9f207a
Update README.md
...
Fix Links.
2014-08-25 09:52:41 +10:00
Dhananjay Balan
b5c4f41b0e
Update README.md
...
Fix indentation.
2014-08-25 09:52:41 +10:00
Dhananjay Balan
52fc20058b
Update Readme.
...
Add wiki pages, usage instructions etc.
2014-08-25 09:52:41 +10:00
Dhananjay Balan
8da0a37457
Complete index subcommands.
2014-08-25 09:52:41 +10:00
Dhananjay Balan
ddbc5306fa
Refactor subcommands
...
- index commands inherit from a parent class.
2014-08-25 09:52:41 +10:00
Dhananjay Balan
d4fc2d5e54
Categories the commands.
...
The subcommands fall onto DATA.
See http://sourceware.org/gdb/onlinedocs/gdb/Commands-In-Python.html#Commands-In-Python
2014-08-25 09:52:41 +10:00
Dhananjay Balan
8d035f8556
Refactor
...
- pretty printers moved to pretty module
- command and subcommands get own module
2014-08-25 09:52:41 +10:00
Dhananjay Balan
2c25dc56ed
Add message_queue subcommand.
2014-08-25 09:52:41 +10:00
Dhananjay Balan
b743d63fde
Catch nonvalid indexes.
...
Catch IndexErrors generated while referancing non existant indexes.
2014-08-25 09:52:41 +10:00
Dhananjay Balan
a71368892a
Add task subcommand
...
rtems tasks <index(s)> - Prints tasks by index.
2014-08-25 09:52:41 +10:00
Dhananjay Balan
479717912a
Add subcommand semaphore
...
rtems semaphore <index(s)> : prints rtems semaphores by index number
2014-08-25 09:52:41 +10:00
Dhananjay Balan
559bd50d27
Catch invalid object ID.
2014-08-25 09:52:41 +10:00
Dhananjay Balan
66d0779c33
Barrier taks queue
...
Print the barrier taks queue.
2014-08-25 09:52:40 +10:00
Dhananjay Balan
6d89e3c34e
Refactor
...
- The objects are intialized using the objects rather than the ID.
2014-08-25 09:52:40 +10:00
Dhananjay Balan
e60a5eec0b
Fix Task and state printer bugs.
...
- Removed ITRON api objects in thread control
- fixes #1
2014-08-25 09:52:40 +10:00
Dhananjay Balan
e282b6efcb
Move todo
...
Why else is there issues?
2014-08-25 09:52:40 +10:00
Dhananjay Balan
59c4946ba3
New todo
2014-08-25 09:52:40 +10:00
Dhananjay Balan
8e0de06b2b
Add classic barrier.
...
- Add support for classic barrier object.
- Drop CORE_ from names in supercore
2014-08-25 09:52:40 +10:00
Dhananjay Balan
c63080ddb2
Update Readme.
...
ToDo.
2014-08-25 09:52:40 +10:00
Dhananjay Balan
b9ee5df588
Add region support.
...
Abstractions for classic/region added.
2014-08-25 09:52:40 +10:00
Dhananjay Balan
c3d06d531c
Abstraction for HEAP.
...
Heap_Control Abstraction is added. It will need some more grooming
though.
2014-08-25 09:52:40 +10:00
Dhananjay Balan
09086b415d
Support classic/partitions
...
Added support for partition object.
2014-08-25 09:52:40 +10:00
Dhananjay Balan
086e689955
Added support for classic/timers.
2014-08-25 09:52:40 +10:00
Dhananjay Balan
591fbf65d3
Fix typo: Global timer control object name.
2014-08-25 09:52:40 +10:00
Dhananjay Balan
0967a1b679
Refactoring
...
- drop _printer suffix from printer classes.
2014-08-25 09:52:40 +10:00
Dhananjay Balan
a785e254f2
Add printers to stage.
2014-08-25 09:52:40 +10:00
Dhananjay Balan
b061a67742
Heavy refactoring + Improved mesege queu printing.
...
- pretty printers moved to the corresponding api_printer module
- object abstractions moved to
- their own name for core modules
- supercore for other supercore objects
- classic for classic api objects
2014-08-25 09:52:40 +10:00
Dhananjay Balan
6e75f4ebf5
Update readme.
...
Included useage instructions.
2014-08-25 09:52:40 +10:00
Dhananjay Balan
385640641e
Fix pretty printers
...
pretty printers for rtems_id and rtems_attribute
2014-08-25 09:52:40 +10:00
Dhananjay Balan
f814c7629c
Messege Queue Objects
...
Added intial support for printing
2014-08-25 09:52:40 +10:00