From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29970 invoked by alias); 29 Oct 2011 10:39:20 -0000 Received: (qmail 29962 invoked by uid 22791); 29 Oct 2011 10:39:19 -0000 X-SWARE-Spam-Status: No, hits=-2.7 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,RCVD_IN_DNSWL_LOW,RP_MATCHES_RCVD,TW_NW X-Spam-Check-By: sourceware.org Received: from csmailer.cs.nctu.edu.tw (HELO csmailer.cs.nctu.edu.tw) (140.113.235.130) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sat, 29 Oct 2011 10:39:04 +0000 Received: from csmailer.cs.nctu.edu.tw (localhost [127.0.0.1]) by csmailer.cs.nctu.edu.tw (Postfix) with ESMTP id 3C2726DD; Sat, 29 Oct 2011 18:37:22 +0800 (CST) Received: from alumni.cs.nctu.edu.tw (alumni.cs.nctu.edu.tw [140.113.235.116]) by csmailer.cs.nctu.edu.tw (Postfix) with ESMTP id 36E246DC; Sat, 29 Oct 2011 18:37:22 +0800 (CST) Received: (from chenwj@localhost) by alumni.cs.nctu.edu.tw (8.14.4/8.14.4/Submit) id p9TAd15U038433; Sat, 29 Oct 2011 18:39:01 +0800 (CST) (envelope-from chenwj) Date: Sat, 29 Oct 2011 14:14:00 -0000 From: =?utf-8?B?6Zmz6Z+L5Lu7?= To: asmwarrior Cc: Jan Kratochvil , gdb@sourceware.org Subject: Re: Why running the next command will jump back to the previous line position Message-ID: <20111029103901.GA36577@cs.nctu.edu.tw> Mail-Followup-To: asmwarrior , Jan Kratochvil , gdb@sourceware.org References: <4EABA71D.600@gmail.com> <20111029072237.GA3977@host1.jankratochvil.net> <4EABAF25.7060605@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <4EABAF25.7060605@gmail.com> User-Agent: Mutt/1.5.21 (2010-09-15) Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes 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: 2011-10/txt/msg00214.txt.bz2 > > Maybe GCC could produce there DW_LNS_negate_stmt so that the variable > > declaration line is still shown in backtraces (if the destructor crashe= s) but > > it is skipped over during stepping/nexting; but GDB currently would not= show > > such line in backtraces, GCC currently does not produce DW_LNS_negate_s= tmt > > anyway. > >=20 >=20 > I'm not quite sure what DW_LNS_negate_stmt means, any way, I will forward= my question to GCC maillist. GCC should emit debug information so that GDB can work correctly. You can checkout http://dwarfstd.org/doc/Dwarf3.pdf . Regards, chenwj --=20 Wei-Ren Chen (=E9=99=B3=E9=9F=8B=E4=BB=BB) Computer Systems Lab, Institute of Information Science, Academia Sinica, Taiwan (R.O.C.) Tel:886-2-2788-3799 #1667