This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [RFA] stack.c: Always set current_source_{symtab,line}
- From: Kevin Buettner <kevinb at redhat dot com>
- To: Keith Seitz <keiths at redhat dot com>, gdb-patches at sources dot redhat dot com
- Date: Mon, 26 Aug 2002 15:52:35 -0700
- Subject: Re: [RFA] stack.c: Always set current_source_{symtab,line}
- References: <Pine.LNX.4.44.0208221104590.1410-100000@valrhona.uglyboxes.com>
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