This is the mail archive of the
insight@sources.redhat.com
mailing list for the Insight project.
Re: [PATCH] Add File->Close
- To: Keith Seitz <keiths at cygnus dot com>
- Subject: Re: [PATCH] Add File->Close
- From: Fernando Nasser <fnasser at redhat dot com>
- Date: Wed, 23 May 2001 11:57:41 -0400
- CC: Insight Maling List <insight at sources dot redhat dot com>, Jim Ingham <jingham at apple dot com>
- Organization: Red Hat Canada
- References: <Pine.GSO.4.33.0105230831040.19383-100000@ryobi.cygnus.com>
Keith Seitz wrote:
>
> I don't see a "clear_file" in gdb. All I see our "gdb_clear_file" in
> generic/gdbtk-cmds.c. Is there a "standard" interface for this now that we
> should be using??
>
My fault. The functions are called:
clear_value_history()
clear_displays()
clear_internalvars()
clear_pc_function_cache()
etc.
but the one I was thinking of has it reversed for historical reasons:
symbol_file_clear()
It does most of the gdb_clear_file work.
--
Fernando Nasser
Red Hat Canada Ltd. E-Mail: fnasser@redhat.com
2323 Yonge Street, Suite #300
Toronto, Ontario M4P 2C9