From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8542 invoked by alias); 23 Mar 2006 18:46:25 -0000 Received: (qmail 8532 invoked by uid 22791); 23 Mar 2006 18:46:25 -0000 X-Spam-Check-By: sourceware.org Received: from xproxy.gmail.com (HELO xproxy.gmail.com) (66.249.82.196) by sourceware.org (qpsmtpd/0.31) with ESMTP; Thu, 23 Mar 2006 18:46:23 +0000 Received: by xproxy.gmail.com with SMTP id s9so382689wxc for ; Thu, 23 Mar 2006 10:46:22 -0800 (PST) Received: by 10.70.69.8 with SMTP id r8mr932177wxa; Thu, 23 Mar 2006 10:46:21 -0800 (PST) Received: by 10.70.126.10 with HTTP; Thu, 23 Mar 2006 10:46:21 -0800 (PST) Message-ID: <8f2776cb0603231046j3f6737eeveefc895c6671e8cf@mail.gmail.com> Date: Thu, 23 Mar 2006 19:17:00 -0000 From: "Jim Blandy" To: "Erming Pei" Subject: Re: Why GDB always jumps in and jumps out and seems uncontrollable? Cc: choo@actcom.co.il, bug-gdb@gnu.org, mato@nz.eds.com, mcelrath@draal.physics.wisc.edu, gdb@sourceware.org In-Reply-To: <4422EBAB.90806@cppm.in2p3.fr> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <4422EBAB.90806@cppm.in2p3.fr> X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2006-03/txt/msg00166.txt.bz2 Try compiling your program without optimization, and then debugging that. Inlining and instruction scheduling can make it hard to correlate the behavior of the compiled program with that of the source program.