delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/02/23/11:06:04

From: Olivier Sohier <olivier DOT sohier AT sophia DOT europe DOT vlsi DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Profile info with GCC
Date: Tue, 23 Feb 1999 15:32:04 +0100
Organization: VLSI Technology, Inc
Lines: 21
Message-ID: <36D2BBE3.1952308B@sophia.europe.vlsi.com>
NNTP-Posting-Host: sop-epgpc9.sophia.europe.vlsi.com
Mime-Version: 1.0
X-Mailer: Mozilla 4.01 [en] (Win95; I)
X-Priority: 3 (Normal)
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Hi,

I am trying to get profile information with gcc.
On SunOS, I'm using gcc version 2.7.2.1 with '-a' and '-g' options. The
file 'bb.out' generated after execution contains the number of times
each basic block is executed, and the C line number of the start of the
basic block.
Unfortunatly, the only versions of gcc avalaible with DJGPP are 2.6.3,
2.8.0 anc 2.8.1.
* With 2.8.x, the 'bb.out' generated does not contain line number info
anymore.
* With 2.6.3, I don't even manage to obtain a 'bb.out'.

Why can't I get a 'bb.out' with gcc 2.6.3 ?
Is there any other option to get line number info with gcc 2.8.x ?
As gcov is still not ported to DJGPP, is there any other way to know how
many times each instruction is executed ?

Thanks in advance,
Olivier

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019