From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27340 invoked by alias); 7 Nov 2007 19:17:01 -0000 Received: (qmail 27321 invoked by uid 22791); 7 Nov 2007 19:17:00 -0000 X-Spam-Check-By: sourceware.org Received: from rock.gnat.com (HELO rock.gnat.com) (205.232.38.15) by sourceware.org (qpsmtpd/0.31) with ESMTP; Wed, 07 Nov 2007 19:16:55 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by filtered-rock.gnat.com (Postfix) with ESMTP id EE1392AC762; Wed, 7 Nov 2007 14:16:53 -0500 (EST) Received: from rock.gnat.com ([127.0.0.1]) by localhost (rock.gnat.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id g7X1H36sqoAA; Wed, 7 Nov 2007 14:16:53 -0500 (EST) Received: from joel.gnat.com (localhost.localdomain [127.0.0.1]) by rock.gnat.com (Postfix) with ESMTP id B058E2AC761; Wed, 7 Nov 2007 14:16:53 -0500 (EST) Received: by joel.gnat.com (Postfix, from userid 1000) id 796B7E7ACA; Wed, 7 Nov 2007 14:16:51 -0500 (EST) Date: Wed, 07 Nov 2007 19:17:00 -0000 From: Joel Brobecker To: wangjiong@sunnorth.com.cn Cc: gdb@sourceware.org Subject: Re: Question about Dwarf2 for VLIW processor Message-ID: <20071107191651.GM6729@adacore.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: 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-11/txt/msg00048.txt.bz2 It usually helps to know which version of GDB you are using, just in case we know the problem is already fixed in more recent versions. > so gdb will think the statement "int i=1" is from 0x800003c5 to > 0x800003cb which should be 0x800003c5 to 0x800003cf. > > How should I handle this situation, wish your advice . Can you tell us more about the problem that you have (ie the actual external symptoms)? Does GDB stop at the wrong location after you do a "next"? -- Joel