From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3417 invoked by alias); 27 Oct 2004 17:40:12 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 3377 invoked from network); 27 Oct 2004 17:40:10 -0000 Received: from unknown (HELO nevyn.them.org) (66.93.172.17) by sourceware.org with SMTP; 27 Oct 2004 17:40:10 -0000 Received: from drow by nevyn.them.org with local (Exim 4.34 #1 (Debian)) id 1CMrmJ-0001QQ-P7; Wed, 27 Oct 2004 13:40:07 -0400 Date: Wed, 27 Oct 2004 17:40:00 -0000 From: Daniel Jacobowitz To: Andrew Cagney Cc: Felix Lee , gdb-patches@sources.redhat.com Subject: Re: backtrace changes current source location Message-ID: <20041027174007.GA5334@nevyn.them.org> Mail-Followup-To: Andrew Cagney , Felix Lee , gdb-patches@sources.redhat.com References: <20041026075115.4A2C354AAB5@stray.canids> <20041026132924.GA26886@nevyn.them.org> <20041026150127.6ED3E54AAB5@stray.canids> <417FDC11.7060700@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <417FDC11.7060700@gnu.org> User-Agent: Mutt/1.5.5.1+cvs20040105i X-SW-Source: 2004-10/txt/msg00455.txt.bz2 On Wed, Oct 27, 2004 at 01:34:09PM -0400, Andrew Cagney wrote: > Felix Lee wrote: > >patch for > > http://sources.redhat.com/ml/gdb/2004-10/msg00414.html > > > >gdb/ChangeLog > >2004-10-26 Felix Lee > > > > * stack.c (backtrace_command_1): Backtrace shouldn't > > change current source location. > > Felix, can you find out where current_sal is being trashed? GDB's > trying to get away from all this global state - the code at that level > shouldn't need to meddle with current_sal. If you follow the link in his message above, Keith introduced it in 2002 - print_frame_info_base. -- Daniel Jacobowitz