From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19621 invoked by alias); 10 Jan 2007 14:59:56 -0000 Received: (qmail 19613 invoked by uid 22791); 10 Jan 2007 14:59:56 -0000 X-Spam-Check-By: sourceware.org Received: from brical.or.uni-bonn.de (HELO brical.or.uni-bonn.de) (131.220.141.99) by sourceware.org (qpsmtpd/0.31) with ESMTP; Wed, 10 Jan 2007 14:59:47 +0000 Received: from wse04.or.uni-bonn.de (bg-1.or.uni-bonn.de [131.220.141.100]) by brical.or.uni-bonn.de (Postfix) with ESMTP id 92EA33B7D0 for ; Wed, 10 Jan 2007 15:59:02 +0100 (CET) Received: from [131.220.143.130] (wse00.or.uni-bonn.de [131.220.143.130]) by wse04.or.uni-bonn.de (Postfix) with ESMTP id EF521E927 for ; Wed, 10 Jan 2007 16:02:32 +0100 (CET) From: Christoph Bartoschek To: gdb@sourceware.org Subject: Re: Differences between program runs with and without gdb Date: Wed, 10 Jan 2007 14:59:00 -0000 User-Agent: KMail/1.9.5 References: <200701101517.20024.bartoschek@or.uni-bonn.de> <200701101548.40353.bartoschek@or.uni-bonn.de> <45A4FDF9.5070208@de.ibm.com> In-Reply-To: <45A4FDF9.5070208@de.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200701101559.02604.bartoschek@or.uni-bonn.de> X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2007-01/txt/msg00173.txt.bz2 Am Mittwoch, 10. Januar 2007 15:53 schrieb Markus Deuling: > Hi Christoph, > > Christoph Bartoschek schrieb: > > both parts do not emplain my problem. First the program is single > > threaded and uses no signals. Second it does not measure time and behaves > > deterministic. Therefore performance differences should have no effect. > > how do you measure that gdb makes your app call memory allocation less > often ? Just print a string each time the allocation is called. And then diff the normal run and the gdb run. Christoph