Chris Johns
058a3a0bd0
rtemstoolkit: Various coverity related fixes.
2018-08-07 09:11:29 +10:00
Sebastian Huber
5d957c9c51
tester: Add RISC-V support to BSP builder
...
Update #3433 .
2018-08-06 09:51:10 +02:00
Sebastian Huber
d3d115a505
tester: Add use virt machine for rv64imafd_medany
...
Update #3433 .
2018-07-25 10:11:26 +02:00
Joel Sherrill
08f80ca140
rtems-bsps-tiers.ini: Add amd64
2018-07-18 18:21:42 -05:00
Sebastian Huber
156b2273a4
tester: Remove obsolete BSP variants
...
Update #3459 .
2018-07-03 07:07:16 +02:00
Sebastian Huber
7b7e340010
tester: Add rv64imafd_medany.ini
...
Update #3433 .
2018-06-29 10:30:37 +02:00
Chris Johns
ddcf29f18d
rtemstoolkit/dwarf: Fix function loading with an DW_AT_specification attr.
2018-06-24 15:38:07 +10:00
Joel Sherrill
e86646c36c
covoar: Address kill() on Cygwin
2018-06-22 10:05:55 -05:00
Chris Johns
bf8e59f83b
covoar: Covert CoverageMapBase C to C++
...
Updates #3462
2018-06-21 17:55:24 +10:00
Chris Johns
6ab939e393
tester: Install the coverage python module.
2018-06-20 08:28:18 +10:00
Sebastian Huber
845054a2ac
Fix CXC build for x86-w64-mingw32
...
Update #3461 .
2018-06-19 12:17:30 +02:00
Chris Johns
c1f2c3247d
tester: Add line feeds to the coverage HTML report.
2018-06-19 13:42:03 +10:00
Chris Johns
e341a65347
tester: Make the path to covoar absolute to ignore the env PATH.
...
Using the environment's path to find covoar allow invalid versions
to be used which may vary in subtle ways. Find and use the covoar
that is build with the version of 'rtems-test'.
This patch means you do not need to install the tools before
running improving the development experience.
Closes #3458
2018-06-18 12:26:16 +10:00
Chris Johns
5195eb735a
tester: Clean up the coverage python code.
2018-06-18 12:26:16 +10:00
Chris Johns
8009d08a9f
tester: Correct usage for covoar.
2018-06-18 12:26:16 +10:00
Chris Johns
1c5206b3d0
tester: Make leon3-run command use run and not sis.
2018-06-18 12:26:16 +10:00
Chris Johns
d8eef0a463
rtemstoolkit: Add DWARF function support.
...
Load the functions in each CU.
2018-06-18 12:26:16 +10:00
Chris Johns
1318c11e5d
linkers: Add an address to line tool.
...
This tool provides a way to check the DWARF toolkit support for finding
lines from addresses.
2018-06-18 12:26:16 +10:00
Chris Johns
0f481ad9f1
rtemstoolkit: Add an output routine for a std::exception.
...
The output routine is used by a number of tools.
2018-06-18 12:26:16 +10:00
Chris Johns
1cab261a78
rtemstoolkit/dwarf: Fixes for getting source lines.
2018-06-18 12:26:16 +10:00
Chris Johns
1f1a10f471
elftoolchain: Add libelftc.
2018-06-18 12:26:16 +10:00
Chris Johns
d6ae3ae744
tester/covoar: ExecutableInfo C to C++ change.
2018-06-18 12:26:16 +10:00
Chris Johns
1c8538039e
rtemstoolkit/dwarf: Change the address source line to signed so valid() works.
...
Also add a check to valid where there must be source to be valid.
2018-06-18 12:26:16 +10:00
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