This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [RFA] print_frame_info_listing_hook cleanup
- From: "Martin M. Hunt" <hunt at redhat dot com>
- To: Andrew Cagney <ac131313 at cygnus dot com>
- Cc: gdb-patches at sources dot redhat dot com, Insight Mailing List <insight at sources dot redhat dot com>
- Date: Wed, 13 Feb 2002 23:25:48 -0800
- Subject: Re: [RFA] print_frame_info_listing_hook cleanup
- Organization: Red Hat Inc
- References: <200202062029.MAA12908@cygnus.com> <3C6A0B15.1080906@cygnus.com>
On Tuesday 12 February 2002 10:43 pm, Andrew Cagney wrote:
> > 2002-02-06 Martin M. Hunt <hunt@redhat.com>
> >
> > * stack.c (print_frame_info_base): When calling
> > print_frame_info_listing_hook, set current_source_symtab
> >
> > 2002-02-06 Martin M. Hunt <hunt@redhat.com>
> >
> > * generic/gdbtk-hooks.c: Remove include of symtab.h.
> > (gdbtk_print_frame_info): Don't set GDB globals
> > current_source_symtab and current_source_line. Let
> > GDB do it.
>
> Since, this only affects insights use of that hook, yes ok.
>
> Andrew
Done. (I also had approval from Keith for Insight part)
--
Martin Hunt
GDB Engineer
Red Hat, Inc.