This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: backtrace changes current source location


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  <felix+log1@specifixinc.com>
> >
> >        * 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]