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] tui: replace deprecated_register_changed_hook with observer


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


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