552 Commits

Author SHA1 Message Date
Chris Johns
881824f766 tester/covoar: Remove all exit() calls and throw an rld::error exception.
Add a suitable catch to covoar's main.
2018-06-18 12:26:16 +10:00
Chris Johns
1e21ea76b7 linkers/exe-info: Add DWARF support to gather and check producer details.
- Provide support to list the compilers and assemblers used to build
  an executable.
- List the machine flags showing which flags are common and which are
  not.
2018-06-18 12:26:16 +10:00
Chris Johns
b73f905e3a rtemstoolkit/elf,files: Catch exceptions in destructors.
Catch exceptions in destructures and print a message to avoid
an unhandled exception happening in an exception stack unwind.
2018-06-18 12:26:16 +10:00
Chris Johns
f7d303f104 rtemstoolkit/path: Fix crash when going above the root directory. 2018-06-18 12:26:05 +10:00
Chris Johns
8dd3803af1 linkers/exe-info: Set the data endian for getting the init/fini sec data. 2018-06-15 15:54:25 +10:00
Chris Johns
3618a62faf rtemstoolkit/elf: Add data size and endian support to the ELF interface. 2018-06-15 15:54:25 +10:00
Chris Johns
dbb56a823c covoar: Add libdwarf to the include path. 2018-06-15 15:54:25 +10:00
Chris Johns
cdfc56a9c9 covoar: Control the RLD verbose level from the -v option. 2018-06-15 15:54:25 +10:00
Chris Johns
efbf8f05fd covoar: Refactor DesiredSymbols.cc to C++11. 2018-06-15 15:54:25 +10:00
Chris Johns
fb987e82be covoar: Use DWARF to map addresses to source files and lines. 2018-06-15 15:54:25 +10:00
Chris Johns
558cab8e4f rtemstoolkit: Add libdwarf C++ interface.
Provide a C++ interface to libdwarf to:
 - Manage DWARF debug data
 - Manage CU
 - Manage DIE
 - Handle CU line addresses
 - Handle CU source files

Update #3417
2018-06-15 15:54:25 +10:00
Sebastian Huber
1a89c3d789 bin2c: Fix warnings
Update #3380.
2018-06-14 07:26:51 +02:00
Sebastian Huber
1cd75c4952 bin2c: Import from RTEMS
Corresponding RTEMS commit is 75933d5d25cd50f80162b7a0d2f66a5534e1763f.

Update #3380.
2018-06-14 07:26:47 +02:00
Vijay Kumar Banerjee
b762312fae tester: Add script to generate html coverage report from covoar output
Add support in tester to run covoar and generate an html report to display
the summary of the coverage reports generated from covoar.

Co-authored-by : Cillian O'Donnell <cpodonnell8@gmail.com>
2018-06-05 18:09:19 -05:00
Joel Sherrill
99c49746d1 rtems-bsps-epiphany.ini: Correct spelling of ephiphany_sim 2018-06-05 17:23:43 -05:00
Joel Sherrill
16b25be90c SPARC: ngmp replaced with specific CPU model BSPs 2018-06-05 17:23:43 -05:00
Joel Sherrill
c2d0d0ea87 tester/rtems/rtems-bsps-powerpc.ini: Fix typo 2018-06-05 17:23:43 -05:00
Vidushi Vashishth
14a1c0978d Updating trace buffer configuration 2018-06-02 13:53:31 +02:00
Chris Johns
e04699bf55 tester/covoar: Do not load an executable's local symbols. 2018-05-25 09:25:38 +12:00
Cillian O'Donnell
70dac81c29 covoar: Fix build path checks for multiple executables. 2018-05-14 15:06:19 -05:00
Chris Johns
b0b9366807 rtemstoolkit: More warning fixes to ConvertUTF.c 2018-05-06 13:35:35 +10:00
Joel Sherrill
feafa6fdf3 _elftc.h: Make compile on Cygwin 2018-04-30 18:12:49 -05:00
Chris Johns
14c7f256c3 tester/covoar: Remove the C part of main and convert to C++
This is a clean up.
2018-05-01 09:00:35 +10:00
Cillian O'Donnell
3e187baeb9 covoar: Add symbol set reader and ELF data parser to covoar.
Add ability to organize symbol sets of libraries in INI file
and then read them with covoar and load the symbols directly from the
libraries.

rtems-tools/../testing: Add configuration files for coverage analysis.

A number of covoar options are not required and are defaulted.

Co-author: Krzysztof Miesowicz <krzysztof.miesowicz@gmail.com>
Co-author: Vijay Kumar Banerjee <vijaykumar9597@gmail.com>
Co-author: Chris Johns <chrisj@rtems.org>
2018-05-01 09:00:35 +10:00
Chris Johns
e0a52a4fe4 rtemstoolkit: Remove warnings generated on Windows for fall-thru. 2018-04-30 15:50:03 +10:00
Chris Johns
4bb3996f2c rtemstoolkit: Add libdwarf from elftoolchain.
The code is taken from:

 https://svn.code.sf.net/p/elftoolchain/code/trunk

Update #3417
2018-04-30 15:40:40 +10:00
Chris Johns
771e7f162e rtemstoolkit: Update elftoolchain to the latest code.
The update is taken from:

 https://svn.code.sf.net/p/elftoolchain/code/trunk

Update #3417
2018-04-30 15:18:34 +10:00
Chris Johns
6f48c914b2 Revert "rtemstoolkit: Update elftoolchain to the latest code."
This reverts commit 0c5db2dd13b8270bb80c497d5f53ae2471f8a819.
2018-04-30 13:39:09 +10:00
Chris Johns
0c5db2dd13 rtemstoolkit: Update elftoolchain to the latest code.
The update is taken from https://github.com/elftoolchain/elftoolchain.

Update #3417
2018-04-29 11:55:37 +10:00
Chris Johns
25863503ed tester: Fix the configure debug option.
The option is --enable-rtems-debug and not --enable-debug.
2018-04-23 17:45:41 +10:00
Chris Johns
ec419a05ee rtemstoolkit/rap: Ignore R_ARM_V4BX relocation records
Note, this removes the detalis needed to alter the instruction for
an ARMv4 instruction set. Currently this type of record is not handled
in the RAP format loader and the RTL loader ignores it.

Close #3396
2018-04-16 11:55:01 +10:00
Chris Johns
82c8788b11 rtemstoolkit/rtl-file: Remove a file on close if requested
Close #3395
2018-04-14 14:15:07 +10:00
Chris Johns
b7c4753de0 teater: Filter out an *.norun.* executables. 2018-04-10 14:00:09 +10:00
Chris Johns
cf641a688d tester: List .ini files for BSPs with --list-bsps. 2018-04-10 13:59:43 +10:00
Chris Johns
c5286cd923 waf: Add getcwd() to sys.path as waf has changed. 2018-04-10 13:59:11 +10:00
Chris Johns
252d21c8cb bsp-builder: Collect2 messages are errors. 2018-04-10 11:46:11 +10:00
Joel Sherrill
6e468c7cfd rtems-bsps-powerpc.ini: Add PowerPC qemu BSPs 2018-02-01 12:48:21 -06:00
Chris Johns
005f995a80 rtems-bsp-builder: Remove stray %s from the run log message.
Close #3278
2018-02-01 10:51:54 +11:00
Chris Johns
623a641297 rtems-bsp-builder: Add a check for invalid ARCH and BSP names.
If invalid characters are in a BSP or ARCH name generate an error.

Add the missing ',' to the line in the PowerPC BSP configuration.
2018-02-01 09:42:59 +11:00
Joel Sherrill
033344235c tester/covoar/covoar.cc: Add missing throw keyword
Why clang caught this and gcc didn't is a mystery.

Updates #3191.
2018-01-02 16:59:31 -06:00
Joel Sherrill
b516a581a3 tester/covoar/covoar.cc: Exit using exit() rather than just throwing.
Closes #3191.
2017-12-05 08:03:44 -06:00
Joel Sherrill
149144fef9 tester/covoar/covoar.cc: Clean up formatting (tabs, braces, indentation, etc) 2017-12-05 08:01:49 -06:00
Sebastian Huber
c432d89fa3 Add tester qoriq_e6500_64.ini 2017-11-22 11:32:20 +01:00
Sebastian Huber
f010b51c24 Add tester qoriq_e6500_32.ini 2017-11-22 11:32:05 +01:00
Sebastian Huber
2248c9a73d Add imx7 and qoriq_e500 to tier-1 2017-11-22 10:31:45 +01:00
Sebastian Huber
3ba9c034d3 Add tester qoriq_e500.ini 2017-11-21 16:00:00 +01:00
Sebastian Huber
3a32d15be9 Add tool patches warning
Update #2949.
2017-11-13 08:39:19 +01:00
Chris Johns
30218f5ca5 tester: Add reporting the RTEMS version, build and tools.
Update #3217.
2017-11-11 16:21:52 +11:00
Sebastian Huber
9f34b38edf Remove tools/5 patches
Update #3220.
2017-11-10 09:38:48 +01:00
Sebastian Huber
6f5cfada96 Add tester imx7.ini
Update #3090.
2017-11-09 09:54:14 +01:00