This is the mail archive of the gdb-patches@sourceware.org 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: [patch 2/8] Types GC [preserve_values as observer]


>>>>> "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


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