From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7609 invoked by alias); 31 Aug 2006 16:34:35 -0000 Received: (qmail 7601 invoked by uid 22791); 31 Aug 2006 16:34:35 -0000 X-Spam-Check-By: sourceware.org Received: from nevyn.them.org (HELO nevyn.them.org) (66.93.172.17) by sourceware.org (qpsmtpd/0.31.1) with ESMTP; Thu, 31 Aug 2006 16:34:32 +0000 Received: from drow by nevyn.them.org with local (Exim 4.54) id 1GIpUr-0001Vd-DN; Thu, 31 Aug 2006 12:34:29 -0400 Date: Thu, 31 Aug 2006 16:34:00 -0000 From: Daniel Jacobowitz To: Rajesh Warange Cc: gdb@sourceware.org Subject: Re: Debugging GDB with GDB Message-ID: <20060831163429.GA5767@nevyn.them.org> Mail-Followup-To: Rajesh Warange , gdb@sourceware.org References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.11+cvs20060403 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-08/txt/msg00279.txt.bz2 On Thu, Aug 31, 2006 at 09:47:38PM +0530, Rajesh Warange wrote: > I 'm pretty badly foxed by this behaviour. > Could anyone please explain me this This is what always happens when you are debugging optimized code. Either ignore the jumps back and forth, or build GDB with CFLAGS=-g. -- Daniel Jacobowitz CodeSourcery