[PATCH 1/1] testsuites: Added tests for sig2str/str2sig methods

2021-08-02 Thread Matt Joyce
Added psxsignal09 in psxtests and compile only test in psxhdrs in order to evaluate newly added POSIX standard methods in Newlib. --- spec/build/testsuites/psxtests/grp.yml| 2 + spec/build/testsuites/psxtests/libpsxhdrs.yml | 1 + .../build/testsuites/psxtests/psxsignal09.yml | 21 +

[PATCH 0/1] Edited Tests for sig2str/str2sig

2021-08-02 Thread Matt Joyce
Hello, I would like to submit the following updated version of the tests for the sig2str/str2sig methods based on Newlib's requested changes to the source. Thank you very much for your time! Sincerely, Matt Matt Joyce (1): testsuites: Added tests for sig2str/str2sig methods spec/build/test

Re: [PATCH v2 00/13] Remove app_common

2021-08-02 Thread Chris Johns
OK to push. Chris On 3/8/21 6:44 am, Ryan Long wrote: > Hi, > > In this iteration I: > > - Removed the typedef in ObjdumpProcessor.h > - Changed targetInfo to be a shared pointer > - Got rid of some of the get & set methods for targetInfo_m > - Added lastState_m to initialization list in Report

[PATCH v2 1/2] rsb: Add MicroBlaze tools

2021-08-02 Thread Alex White
--- rtems/config/6/rtems-microblaze.bset | 23 ++- .../tools/rtems-binutils-xilinx-2.36.cfg | 52 ++ .../tools/rtems-gcc-xilinx-10-newlib-head.cfg | 68 +++ 3 files changed, 142 insertions(+), 1 deletion(-) create mode 100644 rtems/config/tools/rtems-

[PATCH v2 2/2] rsb: Add Xilinx QEMU

2021-08-02 Thread Alex White
--- bare/config/devel/qemu-xilinx-v2020.2-1.cfg | 23 bare/config/devel/qemu-xilinx.bset | 24 + 2 files changed, 47 insertions(+) create mode 100644 bare/config/devel/qemu-xilinx-v2020.2-1.cfg create mode 100644 bare/config/devel/qemu-xilinx.bse

[PATCH v2 0/2] Add MicroBlaze tools to RSB

2021-08-02 Thread Alex White
Hi, v2: - Add Xilinx QEMU version to .cfg filename - Exclude GDB configuration with unneeded Xilinx patches This patch set adds the MicroBlaze tools to rtems-source-builder. Thanks, Alex Alex White (2): rsb: Add MicroBlaze tools rsb: Add Xilinx QEMU bare/config/devel/qemu-xilinx-v202

Re: [PATCH rtems-libbsd 0/5] RTEMS LibBSD Documentation

2021-08-02 Thread Chris Johns
On 3/8/21 3:24 am, Sebastian Huber wrote: > On 02/08/2021 18:37, Vijay Kumar Banerjee wrote: >> I think there should be a high-level user manual subsection for >> networking that describes how the selection of the network stack >> works. We can then add another subsection about lwip since legacy >>

Restore ostream format after setpreicision() call

2021-08-02 Thread Ryan Long
Hi, Does anyone know a better approach to restore the precision value after using setprecision()? I found something online that recommended std::streamsize prec = std::ios_base::precision(); std::setprecision(2); . . . std::setprecision(prec); This makes sense and would work, but I don't know

[PATCH v2 13/13] Remove app_common and all references to it

2021-08-02 Thread Ryan Long
- Removed the includes of app_common.h - Removed app_common references in build infrastructure - Removed app_common.cc and app_common.h --- tester/covoar/CoverageReaderQEMU.cc | 1 - tester/covoar/CoverageReaderTSIM.cc | 1 - tester/covoar/DesiredSymbols.cc | 1 - tester/covoar/ExecutableIn

[PATCH v2 12/13] app_common: Remove functions and macros

2021-08-02 Thread Ryan Long
- Moved functions from app_common to the file they are used - Got rid of FileIsNewer() since it's not being used - Removed macros --- tester/covoar/TraceReaderLogQEMU.cc | 14 + tester/covoar/app_common.cc | 58 - tester/covoar/app_common.h

[PATCH v2 11/13] Remove TargetInfo global variable

2021-08-02 Thread Ryan Long
- Remove TargetInfo from app_common - Created the targetInfo_m member variable in CoverageReaderBase, TraceWriterBase, and ObjdumpProcessor - Made functions to set the value of targetInfo_m --- tester/covoar/CoverageReaderBase.h | 5 + tester/covoar/CoverageReaderQEMU.cc | 4 ++-- tester

[PATCH v2 10/13] Remove BranchInfoAvailable global variable

2021-08-02 Thread Ryan Long
- Removed BranchInfoAvailable from app_common - Created member variable in CoverageReaderBase and ReportsBase and a function to get the value of the member variable --- tester/covoar/CoverageReaderBase.cc | 5 + tester/covoar/CoverageReaderBase.h | 10 ++ tester/covoar/CoverageRead

[PATCH v2 09/13] Remove SymbolsToAnalyze global variable

2021-08-02 Thread Ryan Long
- Removed SymbolsToAnalyze from app_common and replaced it with the symbolsToAnalyze_m member variable in DesiredSymbols, GcovData, and ObjdumpProcessor - Added a parameter to constructors to initialize symbolsToAnalyze_m - Moved the definition of objdumpLine_t out of ObjdumpProcessor to make

[PATCH v2 08/13] Remove input buffer global variables

2021-08-02 Thread Ryan Long
- Removed input buffers from app_common and added them as a local variable to functions where inputBuffer was being used - Added #define for MAX_LINE_LENGTH in files where it is used - Changed Explanations::load to use a string instead of a C-string --- tester/covoar/Explanations.cc | 20

[PATCH v2 07/13] Remove outputDirectory global variable

2021-08-02 Thread Ryan Long
- Replaced outputDirectory in app_common with a local variable in covoar() - Created the outputDirectory_m member variable - Added parameters to Reports* constructors to initialize outputDirectory_m and non member functions --- tester/covoar/ReportsBase.cc | 41 ++--

[PATCH v2 06/13] Remove projectName global variable

2021-08-02 Thread Ryan Long
- Replaced projectName in app_common with a local variable in covoar() - Changed datatype to string - Changed conditionals to reflect this - Created projectName_m member variable for ReportsBase - Added parameter to Reports* constructors to initialize projectName_m --- tester/covoar/ReportsBase.

[PATCH v2 05/13] Remove dynamicLibrary global variable

2021-08-02 Thread Ryan Long
- Replaced dynamicLibrary in app_common with local variables - Changed data type to string - Changed conditionals to reflect this --- tester/covoar/ExecutableInfo.cc | 10 +- tester/covoar/ExecutableInfo.h | 6 +++--- tester/covoar/TraceConverter.cc | 5 +++-- tester/covoar/app_common

[PATCH v2 03/13] Remove objdumpProcessor global variable

2021-08-02 Thread Ryan Long
- Replaced objdumpProcessor in app_common with a local variable in TraceConverter.cc and covoar.cc - Added objdumpProcessor as a parameter for GenerateReports() and the processFile() member function of TraceReaderBase and its derived classes - Changed previous objdumpProcessor member function

[PATCH v2 04/13] Remove Verbose global variable

2021-08-02 Thread Ryan Long
Replaced Verbose in app_common with local variables that are passed as a parameter into numerous functions --- tester/covoar/DesiredSymbols.cc | 17 tester/covoar/DesiredSymbols.h| 13 +--- tester/covoar/ExecutableInfo.h| 1 + tester/covoar/ObjdumpProcessor.cc |

[PATCH v2 02/13] ReportsHtml.cc: Initialize lastState_m

2021-08-02 Thread Ryan Long
When not initialized, an extra code segment would be added to annotated.html --- tester/covoar/ReportsHtml.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tester/covoar/ReportsHtml.cc b/tester/covoar/ReportsHtml.cc index 88ea25b..83fc52f 100644 --- a/tester/covoar/ReportsH

[PATCH v2 00/13] Remove app_common

2021-08-02 Thread Ryan Long
Hi, In this iteration I: - Removed the typedef in ObjdumpProcessor.h - Changed targetInfo to be a shared pointer - Got rid of some of the get & set methods for targetInfo_m - Added lastState_m to initialization list in ReportsHtml.cc Thanks, Ryan Ryan Long (13): Remove AllExplanations global

[PATCH v2 01/13] Remove AllExplanations global variable

2021-08-02 Thread Ryan Long
- Replaced AllExplanations in app_common with a local variable in covoar() - Added the allExplanations_m member variable to ReportsBase - Added a parameter to ReportsBase and its derived classes' constructors to initialize allExplanations_m - Added parameter to GenerateReports() to pass the varia

[PATCH] Turn off executable permissions for a number of source files

2021-08-02 Thread Joel Sherrill
Cloning under Cygwin turned off executable permission on these files. This shows them as modified even though they have not explicitly been touched. Executable permission should not have been on for these files so this is just a minor clean up. --- cpukit/score/cpu/aarch64/include/rtems/score/aarc

Re: [PATCH rtems-libbsd 0/5] RTEMS LibBSD Documentation

2021-08-02 Thread Sebastian Huber
On 02/08/2021 18:37, Vijay Kumar Banerjee wrote: I think there should be a high-level user manual subsection for networking that describes how the selection of the network stack works. We can then add another subsection about lwip since legacy already has one, and libbsd is getting added now. T

Re: [PATCH rtems-libbsd 0/5] RTEMS LibBSD Documentation

2021-08-02 Thread Vijay Kumar Banerjee
On Mon, Aug 2, 2021 at 10:11 AM Gedare Bloom wrote: > > On Mon, Aug 2, 2021 at 7:03 AM Christian MAUDERER > wrote: > > > > Am 02.08.21 um 10:38 schrieb Chris Johns: > > > On 2/8/21 4:58 pm, Christian MAUDERER wrote: > > >> Hello Husni, > > >> > > >> thanks for the patches. I'm sure that this will

Re: [PATCH rtems-libbsd 0/5] RTEMS LibBSD Documentation

2021-08-02 Thread Gedare Bloom
On Mon, Aug 2, 2021 at 7:03 AM Christian MAUDERER wrote: > > Am 02.08.21 um 10:38 schrieb Chris Johns: > > On 2/8/21 4:58 pm, Christian MAUDERER wrote: > >> Hello Husni, > >> > >> thanks for the patches. I'm sure that this will start a discussion about > >> the > >> right place for that documenta

RE: [PATCH v1 09/13] Remove SymbolsToAnalyze global variable

2021-08-02 Thread Ryan Long
On master, the struct is defined as objdumpLine_t. I'll go back and remove the "_t" from the end of the variables in another patch since that's unrelated to this one, and I'll remove that typedef. -Original Message- From: Chris Johns Sent: Sunday, August 1, 2021 10:23 PM To: j...@rtems

Re: [PATCH rtems-libbsd 0/5] RTEMS LibBSD Documentation

2021-08-02 Thread Christian MAUDERER
Am 02.08.21 um 10:38 schrieb Chris Johns: On 2/8/21 4:58 pm, Christian MAUDERER wrote: Hello Husni, thanks for the patches. I'm sure that this will start a discussion about the right place for that documentation. libbsd documentation is a long overdue topic that has been neglected by all of us

Re: [PATCH rtems-libbsd 0/5] RTEMS LibBSD Documentation

2021-08-02 Thread Chris Johns
On 2/8/21 4:58 pm, Christian MAUDERER wrote: > Hello Husni, > > thanks for the patches. I'm sure that this will start a discussion about the > right place for that documentation. libbsd documentation is a long overdue > topic > that has been neglected by all of us (including myself) so I think it

Re: [PATCH rtems-libbsd 1/7] rtemsbsd: Catch timeout overflows

2021-08-02 Thread Chris Johns
On 29/7/21 8:44 am, Chris Johns wrote: > On 28/7/21 4:44 pm, Sebastian Huber wrote: >> On 28/07/2021 08:43, Chris Johns wrote: Why don't we use the FreeBSD implementation one-to-one: freebsd-org/sys/kern/kern_clock.c >>> I am fixing the code that exists. I have no idea why kern_