From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28675 invoked by alias); 8 Jun 2004 05:57:55 -0000 Mailing-List: contact sid-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: sid-owner@sources.redhat.com Received: (qmail 28613 invoked from network); 8 Jun 2004 05:57:52 -0000 Received: from unknown (HELO main.gmane.org) (80.91.224.249) by sourceware.org with SMTP; 8 Jun 2004 05:57:52 -0000 Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1BXZcI-0001IB-00 for ; Tue, 08 Jun 2004 07:57:46 +0200 Received: from ozlabs.org ([203.10.76.45]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 08 Jun 2004 07:57:46 +0200 Received: from bje by ozlabs.org with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 08 Jun 2004 07:57:46 +0200 To: sid@sources.redhat.com From: Ben Elliston Subject: Re: SID support for gcov? Date: Tue, 08 Jun 2004 05:57:00 -0000 Message-ID: <877juilhg3.fsf@au.ibm.com> References: <40C4D803.1070800@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: ozlabs.org User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 X-SW-Source: 2004-q2/txt/msg00038.txt.bz2 Hi Dave > Can gcov be used with SID? From what I've read about gcov it doesn't > seem like any special SID support would be necessary. It seems like > all the needed support is done at compile time and by runtime code, > however executing a simple program after compiling it with > -dprofile-arcs and -ftest-coverage didn't produce any .da > files. Perhaps the runtime code doesn't use any of the supported > syscalls? You're right--the instrumented code relies on runtime support on the target for doing things like opening and writing the .da files on the host. Does your gloss/monitor support this? My recollection is that I tested this a couple of years ago and it worked (at least for the target I worked on). Cheers, Ben