From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-0.9 required=5.0 tests=BAYES_00,FORGED_GMAIL_RCVD, FREEMAIL_FROM autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,7de420fed037ecc5,start X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news1.google.com!postnews.google.com!v33g2000cwv.googlegroups.com!not-for-mail From: igor.prakljacic@gmail.com Newsgroups: comp.lang.ada Subject: Problems with gcov Date: 30 Jan 2007 06:06:19 -0800 Organization: http://groups.google.com Message-ID: <1170165978.983437.308430@v33g2000cwv.googlegroups.com> NNTP-Posting-Host: 129.69.217.42 Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Trace: posting.google.com 1170165997 30579 127.0.0.1 (30 Jan 2007 14:06:37 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Tue, 30 Jan 2007 14:06:37 +0000 (UTC) User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (X11; U; Linux i686; de; rv:1.8.0.3) Gecko/20060425 SUSE/1.5.0.3-7 Firefox/1.5.0.3,gzip(gfe),gzip(gfe) Complaints-To: groups-abuse@google.com Injection-Info: v33g2000cwv.googlegroups.com; posting-host=129.69.217.42; posting-account=WG_wMw0AAABLlBdIJAuPydjIlhd5KH6f Xref: g2news2.google.com comp.lang.ada:8705 Date: 2007-01-30T06:06:19-08:00 List-Id: Hello, i`m trying to use the gcov tool to measure the code coverage of my ada- code, but it seems no to work. I tried to measure the following code: (helloworld.adb) with Ada.Text_IO; use Ada.Text_IO; procedure helloworld is begin Put_Line("Hello World"); end helloworld; The next steps are: % gnatmake -fprofile-arcs -ftest-coverage helloworld.adb gnatgcc -c -fprofile-arcs -ftest-coverage helloworld.adb gnatbind -x helloworld.ali gnatlink helloworld.ali % ls helloworld helloworld.adb helloworld.ali helloworld.bb helloworld.bbg helloworld.o % ./helloworld Hello World % ls helloworld helloworld.adb helloworld.ali helloworld.bb helloworld.bbg helloworld.o There is no helloworld.gcno file. What am i doing wrong. Thanks flux