From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:32934) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Sdwfy-0003Bc-Ug for qemu-devel@nongnu.org; Mon, 11 Jun 2012 00:56:28 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Sdwfx-0005sA-58 for qemu-devel@nongnu.org; Mon, 11 Jun 2012 00:56:26 -0400 Received: from mail-wi0-f181.google.com ([209.85.212.181]:56398) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Sdwfw-0005s3-T4 for qemu-devel@nongnu.org; Mon, 11 Jun 2012 00:56:25 -0400 Received: by wibhn14 with SMTP id hn14so2026478wib.10 for ; Sun, 10 Jun 2012 21:56:22 -0700 (PDT) Sender: Paolo Bonzini Message-ID: <4FD57A74.5090309@redhat.com> Date: Mon, 11 Jun 2012 06:56:20 +0200 From: Paolo Bonzini MIME-Version: 1.0 References: <017b2d0961daf25d156270f69962fa82ba5be00c.1339333471.git.blauwirbel@gmail.com> <4FD4C592.4080107@redhat.com> In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH 2/2] tests: add gcov target List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Blue Swirl Cc: qemu-devel@nongnu.org Il 10/06/2012 20:07, Blue Swirl ha scritto: > > > check-unit-y = tests/check-qdict$(EXESUF) > > > +GCOV_FILES = $(SRC_PATH)/qdict.c > > > > Ouch, ugly. Why is it needed? > > Gcov needs to know both the source file and the object. Probably it > can't get this information from the object or .gc{da,no} files. Yes, I meant why in QEMU. In the new buildsystem all .o files match the original hierarchy in the source tree, so it should be possible to avoid this and get it from substitutions on the names of the .gcda files. Paolo