This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] tui: replace deprecated_register_changed_hook with observer
- From: Pedro Alves <palves at redhat dot com>
- To: Patrick Palka <patrick at parcs dot ath dot cx>, gdb-patches at sourceware dot org
- Date: Wed, 08 Jul 2015 16:06:13 +0100
- Subject: Re: [PATCH] tui: replace deprecated_register_changed_hook with observer
- Authentication-results: sourceware.org; auth=none
- References: <559D2B1F dot 1080503 at redhat dot com> <1436364665-16937-1-git-send-email-patrick at parcs dot ath dot cx>
On 07/08/2015 03:11 PM, Patrick Palka wrote:
> This is a straightforward replacement of the TUI's use of the
> aforementioned hook with the register_changed observer. Since this was
> the only user of the hook, this patch also removes the hook.
OK.
(Note: I'm aware that insight uses some of the these deprecated
hooks, but as we're showing how to convert them to observers at
the same time, I think that's fine; insight can be converted
as it pulls in newer gdb; otherwise it seems like at the pace
it's been taking, we'd never manage to get rid of the
deprecated hooks.)
Thanks,
Pedro Alves