103 Commits

Author SHA1 Message Date
Chris Johns
0bbd2de7f5 4.12: Patches for ERC simualtor for gdb-7.11.
The patches fix the endian checks in the simulator, print filtering,
and the run command.

Updates #2644.
2016-03-16 15:47:37 +11:00
Chris Johns
a44fedf902 Add a gdb-7.11 patch for 4.12. 2016-03-11 18:59:59 +11:00
Götz Pfeiffer
87bca993ae Bugfix: gdb-7.3.1 couldn't be build with a modern texinfo package.
The texinfo documentation of binutils contained some constructs that are
errors, at least for a modern version of texinfo (version 6.0 and newer). This
meant that gdb-7.3.1 couldn't be build e.g. on fedora-22.

A patch file was added to fix the problematic parts of the documentation.

Close #2520.
2016-03-10 10:52:01 +01:00
Götz Pfeiffer
47ec083822 Bugfix: gcc-4.4.7 couldn't be build with a modern texinfo package.
The texinfo documentation of binutils contained some constructs that are
errors, at least for a modern version of texinfo (version 6.0 and newer). This
meant that gcc-4.4.7 couldn't be build e.g. on fedora-22.

A patch file was added to fix the problematic parts of the documentation.

Update #2520.
2016-03-10 10:51:55 +01:00
Götz Pfeiffer
45d2402047 Bugfix: binutils-2.20.1 couldn't be build with a modern texinfo package.
The texinfo documentation of binutils contained some constructs that are
errors, at least for a modern version of texinfo (version 6.0 and newer). This
meant that binutils-2.20.1 couldn't be build e.g. on fedora-22.

A patch file was added to fix the problematic parts of the documentation.

Update #2520.
2016-03-10 10:51:26 +01:00
Chris Johns
0e5d89d946 Add aarch64 and x86_64 binutils and gdb patches. 2016-02-29 18:02:36 +11:00
Chris Johns
6bc1ecedd2 Fix ithe automake warning with newer perl versions.
This patch is based on this post ..

https://lists.gnu.org/archive/html/automake-patches/2015-07/msg00000.html

This warnign appears with a recent MSYS2.

Update #2616.
2016-02-29 08:59:26 +11:00
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
ab922fec9c Add tools patches for RTEMS 4.12. 2015-11-12 17:48:45 +11:00
YANG Qiao
45d47730ce add microwindows patches 2015-08-11 08:37:46 -05:00
Hesham ALMatary
b6b784c38b Add QEMU patch for openrisc to recognize halt signals 2015-04-03 15:09:23 -05:00
Joel Sherrill
bbad85e85a Update gdb-sim-lm32uart.diff to gdb-7.9 2015-04-02 09:52:42 -05:00
Joel Sherrill
bfd2b7d8f4 Add Jiri Gaisler SIS patch set for gdb 7.9
This patch set adds a lot of new capability including support for
the leon2 and leon3. It also eliminates the difference between
the initial state of the simulated erc32 and the real hardware.
2015-03-27 08:32:47 -05: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
Sebastian Huber
3f4717852d Add PowerPC patches for GCC 4.9.2 2015-01-09 15:37:25 +01:00
Sebastian Huber
d8a82fdf2e Add SPARC patches for GCC 4.9.2
These patches are already present in the GCC 4.9 branch and will be
available with GCC 4.9.3.
2014-12-04 13:02:27 +01:00
Jiri Gaisler
af8c147a57 gdb patch to add leon2/3 support to sis
This fixes the commit 4bdba3e552f22bbd82ffc9ab2c915a7b4f2eadd5 which
added a patch patch.
2014-12-04 13:00:50 +01:00
Chris Johns
4bdba3e552 tools/gdb: Add a patch for gdb-7.7/gdb-7.8 SPARC.
This patch updates and merges the previous SPARC patches as well
as providing update LEON2/LEON3 support in the SIS simulator.
2014-12-02 15:50:02 +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