mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-19 09:14:14 +08:00
remove deprecated_set_hook
This removes deprecated_set_hook. Insight was the last user of this hook, but I recently checked in a patch to have it use the command_param_changed observer instead. 2014-01-13 Tom Tromey <tromey@redhat.com> * cli/cli-setshow.c (do_set_command): Update. * defs.h (deprecated_set_hook): Remove. * top.c (deprecated_set_hook): Remove.
This commit is contained in:
@ -452,8 +452,6 @@ do_set_command (char *arg, int from_tty, struct cmd_list_element *c)
|
||||
error (_("gdb internal error: bad var_type in do_setshow_command"));
|
||||
}
|
||||
c->func (c, NULL, from_tty);
|
||||
if (deprecated_set_hook)
|
||||
deprecated_set_hook (c);
|
||||
|
||||
if (notify_command_param_changed_p (option_changed, c))
|
||||
{
|
||||
|
Reference in New Issue
Block a user