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=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM,XPRIO autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,7ddaf8158f13c8fb,start X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-07-31 07:51:33 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.freenet.de!news-feed1.de1.concert.net!fu-berlin.de!uni-berlin.de!gate.dornier.dasa.DE!not-for-mail From: "Martin Moosbrucker" Newsgroups: comp.lang.ada Subject: GNU gcov tool with gnat 3.14p Date: Thu, 31 Jul 2003 16:51:23 +0200 Message-ID: NNTP-Posting-Host: gate.dornier.dasa.de (53.122.46.165) X-Trace: news.uni-berlin.de 1059663091 22936514 53.122.46.165 (16 [169866]) X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2462.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2462.0000 Xref: archiver1.google.com comp.lang.ada:41079 Date: 2003-07-31T16:51:23+02:00 List-Id: 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