comp.lang.ada
 help / color / mirror / Atom feed
From: igor.prakljacic@gmail.com
Subject: Problems with gcov
Date: 30 Jan 2007 06:06:19 -0800
Date: 2007-01-30T06:06:19-08:00	[thread overview]
Message-ID: <1170165978.983437.308430@v33g2000cwv.googlegroups.com> (raw)

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




             reply	other threads:[~2007-01-30 14:06 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-01-30 14:06 igor.prakljacic [this message]
2007-01-30 20:35 ` Problems with gcov Jeffrey Creem
2007-02-01  6:39 ` Simon Wright
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox