From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9103 invoked by alias); 10 Jan 2007 14:35:53 -0000 Received: (qmail 9093 invoked by uid 22791); 10 Jan 2007 14:35:52 -0000 X-Spam-Check-By: sourceware.org Received: from nile.gnat.com (HELO nile.gnat.com) (205.232.38.5) by sourceware.org (qpsmtpd/0.31) with ESMTP; Wed, 10 Jan 2007 14:35:47 +0000 Received: from localhost (localhost [127.0.0.1]) by filtered-nile.gnat.com (Postfix) with ESMTP id 3018E48CE40; Wed, 10 Jan 2007 09:35:45 -0500 (EST) Received: from nile.gnat.com ([127.0.0.1]) by localhost (nile.gnat.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 11507-01-10; Wed, 10 Jan 2007 09:35:45 -0500 (EST) Received: from takamaka.act-europe.fr (AStDenis-105-1-4-171.w81-248.abo.wanadoo.fr [81.248.195.171]) by nile.gnat.com (Postfix) with ESMTP id 9571048CBB7; Wed, 10 Jan 2007 09:35:44 -0500 (EST) Received: by takamaka.act-europe.fr (Postfix, from userid 1000) id BA09134C099; Wed, 10 Jan 2007 18:36:33 +0400 (RET) Date: Wed, 10 Jan 2007 14:35:00 -0000 From: Joel Brobecker To: Christoph Bartoschek Cc: gdb@sourceware.org Subject: Re: Differences between program runs with and without gdb Message-ID: <20070110143633.GA23012@adacore.com> References: <200701101517.20024.bartoschek@or.uni-bonn.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200701101517.20024.bartoschek@or.uni-bonn.de> User-Agent: Mutt/1.4.2.2i 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/msg00168.txt.bz2 > is there a list of things that could be different between to runs of a > programm once with and once without running it under gdb? Generally speaking, GDB tries to be as unobstructive as possible. In practice, although the debugger interferes very little with the program execution, it's not completely perfect. The part that GDB might interfere with which comes first to my mind is thread scheduling and, to a very small degree, program performance. -- Joel