Re: V2 Add DWARF support to the rtemstoolkit and put it to use.

2018-05-12 Thread Chris Johns
On 13/5/18 7:14 am, Vijay Kumar Banerjee wrote: > > On 11 May 2018 at 11:50, Cillian O'Donnell > wrote: > > At the moment when the tester runs covoar the error messages generated > are a > clear indicator of what is wrong, so task list is dictated by what t

Re: V2 Add DWARF support to the rtemstoolkit and put it to use.

2018-05-12 Thread Joel Sherrill
Please start a new thread with the patch in "git format-patch" format. Keeping a long thread going makes it hard to distinguish issues. On Sat, May 12, 2018 at 2:14 PM, Vijay Kumar Banerjee < vijaykumar9...@gmail.com> wrote: > > On 11 May 2018 at 11:50, Cillian O'Donnell wrote: > >> At the momen

Re: V2 Add DWARF support to the rtemstoolkit and put it to use.

2018-05-12 Thread Vijay Kumar Banerjee
On 11 May 2018 at 11:50, Cillian O'Donnell wrote: > At the moment when the tester runs covoar the error messages generated are > a clear indicator of what is wrong, so task list is dictated by what > they're saying at the moment. Fixing the mismatch between exe.cov and .cov > is the next thing. T

Re: V2 Add DWARF support to the rtemstoolkit and put it to use.

2018-05-11 Thread Cillian O'Donnell
Ah NZ almost exact opposite sides of the world, that worked out nicely. On Fri, 11 May 2018, 07:54 Chris Johns, wrote: > > On 11 May 2018, at 6:21 pm, Cillian O'Donnell > wrote: > > > > On Fri, 11 May 2018, 06:17 Chris Johns, wrote: > >> On 11/5/18 4:44 pm, Chris Johns wrote: >> > >> > I am lo

Re: V2 Add DWARF support to the rtemstoolkit and put it to use.

2018-05-10 Thread Chris Johns
> On 11 May 2018, at 6:21 pm, Cillian O'Donnell wrote: > > > >> On Fri, 11 May 2018, 06:17 Chris Johns, wrote: >> On 11/5/18 4:44 pm, Chris Johns wrote: >> > >> > I am looking into the reason for the error which is proving difficult to >> > find. >> > >> >> Cillian, could you please compr

Re: V2 Add DWARF support to the rtemstoolkit and put it to use.

2018-05-10 Thread Cillian O'Donnell
On Fri, 11 May 2018, 06:17 Chris Johns, wrote: > On 11/5/18 4:44 pm, Chris Johns wrote: > > > > I am looking into the reason for the error which is proving difficult to > find. > > > > Cillian, could you please compress and email me offlist the ELF file for > the cov > file is for? > Will do. It

Re: V2 Add DWARF support to the rtemstoolkit and put it to use.

2018-05-10 Thread Cillian O'Donnell
On Thu, 10 May 2018, 22:23 Vijay Kumar Banerjee, wrote: > > > On Fri, 11 May 2018, 02:19 Cillian O'Donnell, > wrote: > >> >> >> On 10 May 2018 at 20:15, Vijay Kumar Banerjee >> wrote: >> >>> Frankly, I'm totally confused at the moment. I'm not able to come up >>> with a proper task list to seri

Re: V2 Add DWARF support to the rtemstoolkit and put it to use.

2018-05-10 Thread Chris Johns
On 11/5/18 4:44 pm, Chris Johns wrote: > > I am looking into the reason for the error which is proving difficult to find. > Cillian, could you please compress and email me offlist the ELF file for the cov file is for? Thanks Chris ___ devel mailing li

Re: V2 Add DWARF support to the rtemstoolkit and put it to use.

2018-05-10 Thread Chris Johns
On 11/5/18 8:32 am, Cillian O'Donnell wrote: > > Thank for you the offer. The change to main is in response to my changes > to add > DWARF support and those changes are not yet working so I feel I have to > make the > change as part of this work or Vijay ends up on my broken version

Re: V2 Add DWARF support to the rtemstoolkit and put it to use.

2018-05-10 Thread Vijay Kumar Banerjee
On Fri, 11 May 2018, 02:19 Cillian O'Donnell, wrote: > > > On 10 May 2018 at 20:15, Vijay Kumar Banerjee > wrote: > >> Frankly, I'm totally confused at the moment. I'm not able to come up with >> a proper task list to serially go through. >> >> according to my understanding (and proposal), the m

Re: V2 Add DWARF support to the rtemstoolkit and put it to use.

2018-05-10 Thread Cillian O'Donnell
On 10 May 2018 at 20:15, Vijay Kumar Banerjee wrote: > Frankly, I'm totally confused at the moment. I'm not able to come up with > a proper task list to serially go through. > > according to my understanding (and proposal), the major goals are: > > 1. Get the coverage analysis running again and g

Re: V2 Add DWARF support to the rtemstoolkit and put it to use.

2018-05-10 Thread Cillian O'Donnell
On 10 May 2018 at 19:39, Chris Johns wrote: > On 11/5/18 5:37 am, Cillian O'Donnell wrote: > > On Thu, 10 May 2018, 11:48 Chris Johns, > > > It is not a exception in an exception or in a stack unwind path, it > is an > > exception being thrown with no catch. > > > > The covoar `main(

Re: V2 Add DWARF support to the rtemstoolkit and put it to use.

2018-05-10 Thread Vijay Kumar Banerjee
On Fri, 11 May 2018, 01:09 Joel Sherrill, wrote: > > > On Thu, May 10, 2018 at 2:15 PM, Vijay Kumar Banerjee < > vijaykumar9...@gmail.com> wrote: > >> Frankly, I'm totally confused at the moment. I'm not able to come up with >> a proper task list to serially go through. >> > > We are to blame for

Re: V2 Add DWARF support to the rtemstoolkit and put it to use.

2018-05-10 Thread Joel Sherrill
On Thu, May 10, 2018 at 2:15 PM, Vijay Kumar Banerjee < vijaykumar9...@gmail.com> wrote: > Frankly, I'm totally confused at the moment. I'm not able to come up with > a proper task list to serially go through. > We are to blame for that. You have been caught in the cross-fire of us all testing Ch

Re: V2 Add DWARF support to the rtemstoolkit and put it to use.

2018-05-10 Thread Vijay Kumar Banerjee
On 11 May 2018 at 00:09, Chris Johns wrote: > On 11/5/18 5:37 am, Cillian O'Donnell wrote: > > On Thu, 10 May 2018, 11:48 Chris Johns, > > > It is not a exception in an exception or in a stack unwind path, it > is an > > exception being thrown with no catch. > > > > The covoar `main(

Re: V2 Add DWARF support to the rtemstoolkit and put it to use.

2018-05-10 Thread Vijay Kumar Banerjee
Frankly, I'm totally confused at the moment. I'm not able to come up with a proper task list to serially go through. according to my understanding (and proposal), the major goals are: 1. Get the coverage analysis running again and get it merged with the current master repo. 2. Generating line cov

Re: V2 Add DWARF support to the rtemstoolkit and put it to use.

2018-05-10 Thread Chris Johns
On 11/5/18 6:10 am, Joel Sherrill wrote: > https://swarminglogic.com/jotting/2014_05_lcov has more complicated reports > and instructions. It even includes a shell script to make Chris happy. LOL echo "LOL" | sed -e 's/^L/\:/' -e 's/O/\-/' -e 's/L/\P/' Chris __

Re: V2 Add DWARF support to the rtemstoolkit and put it to use.

2018-05-10 Thread Chris Johns
On 11/5/18 5:37 am, Cillian O'Donnell wrote: > On Thu, 10 May 2018, 11:48 Chris Johns, > It is not a exception in an exception or in a stack unwind path, it is an > exception being thrown with no catch. > > The covoar `main()` is  like C with return vales, stderr prints and exits >

Re: V2 Add DWARF support to the rtemstoolkit and put it to use.

2018-05-10 Thread Joel Sherrill
On Thu, May 10, 2018 at 12:37 PM, Cillian O'Donnell wrote: > > > On Thu, 10 May 2018, 11:48 Chris Johns, wrote: > >> On 10/5/18 2:43 pm, Chris Johns wrote: >> > On 10/5/18 8:47 am, Cillian O'Donnell wrote: >> >> >> >> >> >> GDB >> >> >> >> >> >> (gdb) bt

Re: V2 Add DWARF support to the rtemstoolkit and put it to use.

2018-05-10 Thread Cillian O'Donnell
On Thu, 10 May 2018, 11:48 Chris Johns, wrote: > On 10/5/18 2:43 pm, Chris Johns wrote: > > On 10/5/18 8:47 am, Cillian O'Donnell wrote: > >> > >> > >> GDB > >> > >> > >> (gdb) bt > >> #0 0x774aa428 in __GI_raise (sig=sig@entry=6) > >> at ../

Re: V2 Add DWARF support to the rtemstoolkit and put it to use.

2018-05-10 Thread Chris Johns
On 10/5/18 2:43 pm, Chris Johns wrote: > On 10/5/18 8:47 am, Cillian O'Donnell wrote: >> >> >> GDB >> >> >> (gdb) bt >> #0  0x774aa428 in __GI_raise (sig=sig@entry=6) >>     at ../sysdeps/unix/sysv/linux/raise.c:54 >> #1  0x774ac02a in __GI_

Re: V2 Add DWARF support to the rtemstoolkit and put it to use.

2018-05-10 Thread Chris Johns
On 10/5/18 6:14 pm, Cillian O'Donnell wrote: > On Thu, 10 May 2018, 03:43 Chris Johns, > wrote: > > On 10/5/18 8:47 am, Cillian O'Donnell wrote: > > Just running covoar there, we seem to be running into some problems at > the > > source line lookup stage > >

Re: V2 Add DWARF support to the rtemstoolkit and put it to use.

2018-05-09 Thread Cillian O'Donnell
On Thu, 10 May 2018, 03:43 Chris Johns, wrote: > On 10/5/18 8:47 am, Cillian O'Donnell wrote: > > Just running covoar there, we seem to be running into some problems at > the > > source line lookup stage > > Thank you for testing this. I assume it builds OK and we can run it? > Builds with a cou

Re: V2 Add DWARF support to the rtemstoolkit and put it to use.

2018-05-09 Thread Chris Johns
On 10/5/18 8:47 am, Cillian O'Donnell wrote: > Just running covoar there, we seem to be running into some problems at the > source line lookup stage Thank you for testing this. I assume it builds OK and we can run it? > cpod@cpod ~/development/rtems/leon3 $ covoar -S > /home/cpod/development/rtem

Re: V2 Add DWARF support to the rtemstoolkit and put it to use.

2018-05-09 Thread Cillian O'Donnell
Just running covoar there, we seem to be running into some problems at the source line lookup stage cpod@cpod ~/development/rtems/leon3 $ covoar -S /home/cpod/development/rtems/test/rtems-tools/tester/rtems/testing/coverage/score-symbols.ini -O /home/cpod/coverage_test/test/score -E/home/cpod/deve

V2 Add DWARF support to the rtemstoolkit and put it to use.

2018-05-07 Thread Chris Johns
Hi, This is a wrap up patch of all the issues that have been raise. Thanks to the excellent debugging and teamwork in finding the linking issue on Linux, that is a really strange one to trip over. The patches: - Add a DWARF framework to the rtemstoolkit to access the source file and line given