From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17346 invoked by alias); 10 Jan 2007 14:57:40 -0000 Received: (qmail 17338 invoked by uid 22791); 10 Jan 2007 14:57:39 -0000 X-Spam-Check-By: sourceware.org Received: from lon-del-02.spheriq.net (HELO lon-del-02.spheriq.net) (195.46.50.98) by sourceware.org (qpsmtpd/0.31) with ESMTP; Wed, 10 Jan 2007 14:57:32 +0000 Received: from lon-out-03.spheriq.net ([195.46.50.131]) by lon-del-02.spheriq.net with ESMTP id l0AEvT27032659 for ; Wed, 10 Jan 2007 14:57:29 GMT Received: from lon-cus-02.spheriq.net (lon-cus-02.spheriq.net [195.46.50.38]) by lon-out-03.spheriq.net with ESMTP id l0AEvSQ5020845 for ; Wed, 10 Jan 2007 14:57:29 GMT Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by lon-cus-02.spheriq.net with ESMTP id l0AEvPQ7024562 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=OK); Wed, 10 Jan 2007 14:57:26 GMT Received: from zeta.dmz-eu.st.com (ns2.st.com [164.129.230.9]) by beta.dmz-eu.st.com (STMicroelectronics) with ESMTP id C2DEEDA48; Wed, 10 Jan 2007 14:57:24 +0000 (GMT) Received: from mail1.bri.st.com (mail1.bri.st.com [164.129.8.218]) by zeta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 5A14447475; Wed, 10 Jan 2007 14:57:24 +0000 (GMT) Received: from [164.129.15.13] (bri1043.bri.st.com [164.129.15.13]) by mail1.bri.st.com (MOS 3.7.5a-GA) with ESMTP id CIJ20516 (AUTH stubbsa); Wed, 10 Jan 2007 14:57:22 GMT Message-ID: <45A4FED2.30803@st.com> Date: Wed, 10 Jan 2007 14:57:00 -0000 From: Andrew STUBBS User-Agent: Thunderbird 1.5.0.9 (Windows/20061207) MIME-Version: 1.0 To: Christoph Bartoschek Cc: gdb@sourceware.org Subject: Re: Differences between program runs with and without gdb References: <200701101517.20024.bartoschek@or.uni-bonn.de> <20070110143633.GA23012@adacore.com> <200701101548.40353.bartoschek@or.uni-bonn.de> In-Reply-To: <200701101548.40353.bartoschek@or.uni-bonn.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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/msg00171.txt.bz2 Christoph Bartoschek wrote: > 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. Does it make a difference when you run under GDB, but without using stepping/breakpoints or other explicit commands? In other words, what might you be asking GDB to do to your program? Andrew