From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14822 invoked by alias); 25 Jul 2004 22:36:09 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 14810 invoked from network); 25 Jul 2004 22:36:08 -0000 Received: from unknown (HELO burundai.radix50.net) (82.83.207.19) by sourceware.org with SMTP; 25 Jul 2004 22:36:08 -0000 Received: from burundai.radix50.net (localhost [127.0.0.1]) by burundai.radix50.net (8.12.3/8.12.3/Debian -4) with ESMTP id i6PMcXTp009158 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=FAIL) for ; Mon, 26 Jul 2004 00:38:33 +0200 Received: (from ibr@localhost) by burundai.radix50.net (8.12.3/8.12.3/Debian -4) id i6PMcXu7009157 for gdb@sources.redhat.com; Mon, 26 Jul 2004 00:38:33 +0200 Date: Mon, 26 Jul 2004 03:10:00 -0000 From: Baurjan Ismagulov To: gdb@sources.redhat.com Subject: bug disappears if compiled with -O0 Message-ID: <20040725223832.GB8947@ata.cs.hun.edu.tr> Mail-Followup-To: gdb@sources.redhat.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.6+20040523i X-SW-Source: 2004-07/txt/msg00314.txt.bz2 Hello, I'm trying to track down a problem in a dynamic library. However, the bug doesn't show up if the code is compiled with -O0 (it is normally compiled with -O2). Any pointers or tips on how to proceed (except printf)? I'm using gcc version 3.3.4 (Debian 1:3.3.4-2) and GNU gdb 6.1-debian, configured as "i386-linux". Thanks in advance, Baurjan.