comp.lang.ada
 help / color / mirror / Atom feed
From: "Martin Moosbrucker" <martin_moosbrucker@web.de>
Subject: GNU gcov tool with gnat 3.14p
Date: Thu, 31 Jul 2003 16:51:23 +0200
Date: 2003-07-31T16:51:23+02:00	[thread overview]
Message-ID: <bgbadj$lruu2$1@ID-169866.news.uni-berlin.de> (raw)

Hi,

I am currently using the GNU gcov tool for code analysis on a RedHat 7.3
operating system. This tool seems to work fine for non-generic packages. For
non generic packages I get a listing of code along with the frequency of
execution for each line:

           1    package body print_hello is

           1       procedure print is
                   begin
           1         Ada.Text_Io.Put_Line("Hallo World");
                   end print;

                end print_hello;

For generic packages the frequency of execution is only shown in the first
line:

           1    package body Utilities.Generics.Id_Management is

Is there a way of getting the frequency of execution for the other lines in
a generic package ?
I am currently using the gnatmake options:
-fprofile-arcs -ftest-coverage

when compiling my code.

Thanks

Martin












             reply	other threads:[~2003-07-31 14:51 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-07-31 14:51 Martin Moosbrucker [this message]
2003-07-31 22:04 ` GNU gcov tool with gnat 3.14p Guillaume Foliard
replies disabled

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