This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: RFA: Patch: annotations -vs- deprecated hooks
- From: Tom Tromey <tromey at redhat dot com>
- To: Joel Brobecker <brobecker at adacore dot com>
- Cc: gdb-patches at sources dot redhat dot com
- Date: Mon, 14 Jul 2008 11:45:52 -0600
- Subject: Re: RFA: Patch: annotations -vs- deprecated hooks
- References: <m363r9bg3q.fsf@fleche.redhat.com> <20080714172649.GD3998@adacore.com>
- Reply-to: Tom Tromey <tromey at redhat dot com>
>>>>> "Joel" == Joel Brobecker <brobecker@adacore.com> writes:
Joel> I agree - I didn't check why gdbtk is dependent on annotation hooks,
Joel> but we should also ask them about it, and try to remove these hooks.
I don't know why this notification was hacked into annotate.c -- but
no matter. These notifications could easily be replaced with
observers.
I did not do that because it is not clear to me that we actually want
to directly replace all the deprecated hooks with observers. Some of
these calls appear in weird places; maybe a more generally useful
observer could be added instead.
Tom