317 Commits

Author SHA1 Message Date
Chris Johns
5032d71ab6 trace-linker: Update comments. 2015-03-29 16:37:22 +11: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
d499e6df89 trace-linker: Add the trace function signatures to the wrapper code.
This gives the tools the ability to extract all needed data from the
executable.
2015-03-27 20:21:33 +11:00
Chris Johns
f5b639bf72 rtems-tester: Remove repeated install line in wscript.
Fixes #2312.
2015-03-27 14:24:11 +11:00
Joel Sherrill
20feafb531 Add rtems-tester configurations for simsh family of BSPs 2015-03-26 16:56:22 -05:00
Chris Johns
b69cd3fc07 trace-linker: Add API and POSIX interfaces. 2015-03-26 18:23:35 +11:00
Chris Johns
b988768f83 trace-linker: Add Trace Buffering support.
Trace buffering traces into a static buffer complete with timestamp
and the executing context.

A shell command provides access to the data.
2015-03-26 17:08:18 +11:00
Chris Johns
1703041074 rtems-tld: Add lock and buffer allocator support to generators.
Generators can control a lock and buffer allocation so a single
alloc can happen and a lock released.
2015-03-24 14:37:35 +11:00
Chris Johns
29ad92c524 trace-linker: Add options, names, enables, and triggers.
Move the options to a section so an option can be a single line. This
gives the user the ability to localise specific configurations in a
top level configuration file.

Provide support for names, enables and triggers. Names is an array of
names of the trace functions. The table is sorted and you can use an
index to reference the trace function. There is a @FUNC_INDEX@ macro
that is replaced with the trace function's index. Enables is a bitmap
of default trace enabled states for all trace functions. Triggers is
a bitmap of default triggers bit states for each trace function.
Generators can use these bitmaps to control functionality.

Currently the bitmaps are const but a generator option can be added
to disable the const and allow the capture engine access to update
the bitmaps.
2015-03-23 17:19:01 +11:00
Chris Johns
8531776882 rtemstoolkit: Add an array operator to return recs in a section. 2015-03-23 17:18:39 +11:00
Chris Johns
45857982a6 Update the version of waf.
The commit references #2312.
2015-03-22 15:21:25 +11:00
Chris Johns
36e663162f rtemstoolkit: Remove warning on Windows. 2015-03-18 17:02:40 +11:00
Chris Johns
ea749e542a Ignore waf files on Windows and Python3 waf files. 2015-03-18 17:02:26 +11:00
Chris Johns
dfc5994847 elftoolchain: Add support for Cygwin. 2015-03-17 21:37:43 +11:00
Chris Johns
b117be8e1f gdb/python: Update the support to a recent RTEMS. 2015-03-17 13:12:15 +11:00
Joel Sherrill
a30ec562fc Add configurations for all h8 GDB simulator BSP variants 2015-03-12 17:29:52 -05:00
Joel Sherrill
8abbe80191 Add configurations for all arm GDB simulator BSP variants 2015-03-12 17:18:21 -05:00
Joel Sherrill
ab5e0c5165 Add configuration for m32csim BSP for simulator in GDB 2015-03-12 17:18:18 -05:00
Joel Sherrill
b938414d9b Add configuration for m32rsim BSP for simulator in GDB 2015-03-12 13:52:22 -05:00
Joel Sherrill
71fb99bf98 Add configurations for all v850 GDB simulator BSP variants 2015-03-12 13:52:20 -05: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
e143a62f6b Fix the chmod octal value to use the correct Python syntax. 2015-02-16 11:30:37 +11:00
Chris Johns
a8c4f3f26c Update the Windows header to direct.h for _mkdir per the MSDN. 2015-02-16 11:30:31 +11:00
Chris Johns
05fe73dfd7 Fix the tester wscript. 2015-02-08 18:40:35 +11:00
Chris Johns
9600c39638 Fixes to the run the waf built tests when installed. 2015-02-08 18:14:16 +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
7338811607 Remove warning on Linux. 2015-01-21 10:52:54 +11:00
Chris Johns
69c955d7a1 DEST_OS is linux and not linux2. 2015-01-21 10:51:48 +11:00
Chris Johns
f381f26e9b Fix covoar so it builds for Windows. 2015-01-20 08:56:14 +11:00
Chris Johns
3badbb0622 Add support to cross-compile. Use --hosti=.
On FreeBSD use --host=mingw32 for Windows. If you use another
OS you might need to add the specific windows host to the
top level wscript file.
2015-01-18 18:12:18 +11:00
Sebastian Huber
3f4717852d Add PowerPC patches for GCC 4.9.2 2015-01-09 15:37:25 +01:00
Chris Johns
8de6f6b412 rtems-tld: Install the libc heap configuration files. 2014-12-18 15:15:11 +11:00
Chris Johns
7fc1edba20 rtems-tld: Add configuration support for libc head tracing.
These files allow you to trace malloc, calloc, realloc and free.
With a simple script you can see what is allocated and never freed.
2014-12-18 15:07:59 +11: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
efae4ae5c6 toolkit: Print dependents in resolver. 2014-11-30 14:37:30 +11:00
Chris Johns
066a64b745 toolkit: Raise a user error and not an internal one. 2014-11-30 14:37:30 +11:00
Joel Sherrill
b1e9ab9368 main-page.cpp: Fix spelling issue 2014-11-20 12:46:43 -06:00
Chris Johns
b9c0a0436d linkers: Disable .type statements in symbol code.
Some of the assemblers do not support this statement.
2014-11-06 12:05:38 +11:00
Chris Johns
53e387d9a4 linkers: Merge the standard libraries into the user library paths.
The change to rld::split clears the user's library paths. Fix
this.
2014-11-04 19:39:57 +11:00
Chris Johns
ddbab71497 Fix buffer leak on error. 2014-11-04 09:40:15 +11:00
Ben Gras
0f93ea65b6 fix buffer size problem
(triggered runtime error on my machine)
2014-11-04 09:19:52 +11:00
Ben Gras
e4014f05e8 typo 2014-11-02 08:55:51 +11:00
Ben Gras
2015c854c5 fix for open() not taking a std::string 2014-11-01 09:56:05 +11:00
Chris Johns
fdb1fe685a linkers: Add base image symbol to ELF object file generation.
This change adds support to the rtems-syms code to generate a suitable
ELF object you can link to the base image kernel in the embed mode or
you can load with the run-time load mode.

The change fixes a bug in the framework where local ELF symbols
were being placed in the external symbol table. The external
symbol table has been removed and a global, weak and local set
of tables is now provided as this is more aligned with the ELF
format.
2014-10-30 17:55:18 +11:00
Chris Johns
aac294948c linkers: Add kernel symbol support.
The rtems-sym tool has been changed from a basic map tool to now
provide an object file in the specific architecture containing
the symbols in the RTEMS kernel. It can still generate a map.

The object can be embedded or loaded. It cannot be both.
2014-10-28 01:14:02 -07:00
Chris Johns
3fd45d35eb toolkit: Fix the map formatting. 2014-10-28 01:13:47 -07:00
Chris Johns
df7fd269ad toolkit: Update the comment. 2014-10-28 01:13:19 -07:00
Hesham ALMatary
23bbbfdb6f Add new OpenRISC/or1ksim BSP script using qemu 2014-09-29 15:00:47 -05:00