From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26953 invoked by alias); 25 Sep 2002 15:15:29 -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 26940 invoked from network); 25 Sep 2002 15:15:26 -0000 Received: from unknown (HELO mx1.redhat.com) (66.187.233.31) by sources.redhat.com with SMTP; 25 Sep 2002 15:15:26 -0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.11.6/8.11.6) with ESMTP id g8PEvRi24880; Wed, 25 Sep 2002 10:57:27 -0400 Received: from pobox.corp.redhat.com (pobox.corp.redhat.com [172.16.52.156]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id g8PFFMf20623; Wed, 25 Sep 2002 11:15:22 -0400 Received: from valrhona.uglyboxes.com (IDENT:axicKCgFCDrBDWTUduvsQL42c2gsoSTP@vpn50-30.rdu.redhat.com [172.16.50.30]) by pobox.corp.redhat.com (8.11.6/8.11.6) with ESMTP id g8PFFLJ30212; Wed, 25 Sep 2002 11:15:22 -0400 Date: Wed, 25 Sep 2002 08:15:00 -0000 From: Keith Seitz X-X-Sender: keiths@valrhona.uglyboxes.com To: Vinayak P Risbud cc: Ecos-Discuss , gdb Subject: Re: gdb problem In-Reply-To: <3D9193F3.8F4B92C6@multitech.co.in> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-SW-Source: 2002-09/txt/msg00406.txt.bz2 On Wed, 25 Sep 2002, Vinayak P Risbud wrote: > 16100 mov... > 16104 > 16108 > 1610c > 16114 > 16120 > 16110 > 16118 > 1611c > > As you can see...the addresses are not linear... > Is it a problem ? If yes...where exactly could be the > problem ? Looks like you might be debugging optimized code. It shouldn't be a problem, as long as you're aware of the consequences of debugging optimized code (for example, registers can be reused for multiple variables during the lifetime of a block). If you're really concerned about it, recompile your application and libraries without -O (or -O2, -O3, ...). Keith