[En-Nut-Discussion] gcov
amit khandelwal
khandelwal.amit at gmail.com
Tue Apr 5 20:55:11 CEST 2005
Hello Harald,
I am using the sources that came along with the CD when I had
purchased board from ethernut. I have 1.3 rev F. The source file
contains init.c as well as nutinit.c. Are these sources very old?
from the source file -
----------------------------------------------------------------------------------------------
* $Log: nutinit.c,v $
* Revision 1.4 2003/12/15 19:30:19 haraldkipp
* Thread termination support
*
* Revision 1.3 2003/12/05 22:39:46 drsung
* New external RAM handling
*
* Revision 1.2 2003/09/29 16:35:25 haraldkipp
* Replaced XRAMEND by NUTRAMEND
----------------------------------------------------------------------------------------------
Yes. I guess I will post the query on avr-gcc mailing list. The
compiler doesnt complain when I give -ftest-coverage. I will check
that up.
Thanks,
Amit Khandelwal
On Apr 5, 2005 2:37 PM, Harald Kipp <harald.kipp at egnite.de> wrote:
> Hi Amit,
>
> You're using init.c instead of nutinit.c? Is this
> a special version you made or do you accidently use
> a very old Nut/OS source?
>
> I'm not aware whether AVRGCC supports gcov. May be
> ask the avr-gcc mailing list
> http://lists.nongnu.org/mailman/listinfo/avr-gcc-list
>
> Harald
>
> At 11:07 05.04.2005 -0400, you wrote:
> >Hello,
> >
> >make -C os
> >make[1]: Entering directory `/home/kamit/research-project/ethernut/nut/os'
> >avr-gcc -c -mmcu=atmega128 -fprofile-arcs -ftest-coverage -Os -Wall
> >-Werror -Wstrict-prototypes -Wa,-ahlms=init.lst -DNUT_SECURE_IP
> >-DNUTDEBUG -I../mod/include -I../include init.c -o init.o
> >init.c: In function `NutIdle':
> >init.c:109: internal compiler error: in make_edges, at cfgbuild.c:402
> >Please submit a full bug report,
> >with preprocessed source if appropriate.
> >See <URL:http://gcc.gnu.org/bugs.html> for instructions.
> >make[1]: *** [init.o] Error 1
> >
> >avr-gcc options "-fprofile-arcs -ftest-coverage"
> >
> >Anybody encountered this error? Has anybody used gcov utility with ethernut??
> >
> >Thanks,
> >Amit Khandelwal
>
> _______________________________________________
> En-Nut-Discussion mailing list
> En-Nut-Discussion at egnite.de
> http://www.egnite.de/mailman/listinfo.cgi/en-nut-discussion
>
More information about the En-Nut-Discussion
mailing list