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: [RFA] stack.c: Always set current_source_{symtab,line}


On Aug 22, 11:05am, Keith Seitz wrote:

> Ping.
> 
> On Wed, 14 Aug 2002, Keith Seitz wrote:
> 
> > Hi,
> > 
> > Another MI fallout. This has changed a few times in the past few months, 
> > but I believe that this is how it should be for anything that uses the 
> > CLI/command interpreter.
> > 
> > Without this, an -interpreter-exec call in MI will get "lost". (Use MI to 
> > stop at breakpoint, step a few times, use console interp to "break" -- 
> > breakpoint would be set someplace other than current location.)
> > 
> > I've run this through the testsuite, and it introduces no new failures. 
> > (And of course, it still works with Insight.)
> > 
> > Keith
> > 
> > ChangeLog
> > 2002-08-14  Keith Seitz  <keiths@redhat.com>
> > 
> >         * stack.c (print_frame_info_base): Always set current_source_symtab
> >         and current_source_line.

Keith,

I don't claim any deep understanding of the code affected, but I've
looked over your patch and it seems reasonable to me.

Kevin


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