This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [patch 2/8] Types GC [preserve_values as observer]
- From: Tom Tromey <tromey at redhat dot com>
- To: Jan Kratochvil <jan dot kratochvil at redhat dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Tue, 09 Jun 2009 13:59:55 -0600
- Subject: Re: [patch 2/8] Types GC [preserve_values as observer]
- References: <20090525080133.GB13323@host0.dyn.jankratochvil.net>
- Reply-to: tromey at redhat dot com
>>>>> "Jan" == Jan Kratochvil <jan.kratochvil@redhat.com> writes:
Jan> simplify preserve_values invocation by using the observer from patch 1/8.
Jan> 2009-05-25 Jan Kratochvil <jan.kratochvil@redhat.com>
Jan> * objfiles.c (free_objfile): Remove preserve_values.
Jan> * symfile.c (reread_symbols): Likewise.
Jan> * value.c: Include observer.h.
Jan> (preserve_values): Define the function as static.
Jan> (_initialize_values): Register preserve_values as an observer.
Jan> * value.h (preserve_values): Remove the declaration.
This is ok once we resolve the issues with patch #1.
Tom