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
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
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
a7176a8a7e
Add watchdog ticks command.
...
- ToDo : Fix watchdog states.
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
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
6d89e3c34e
Refactor
...
- The objects are intialized using the objects rather than the ID.
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
b9ee5df588
Add region support.
...
Abstractions for classic/region added.
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
0967a1b679
Refactoring
...
- drop _printer suffix from printer classes.
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
f814c7629c
Messege Queue Objects
...
Added intial support for printing
2014-08-25 09:52:40 +10:00
Dhananjay Balan
56a70aec55
Intial commit.
...
Chris's intial work on the extenstions.
2014-08-25 09:52:40 +10:00