diff options
Diffstat (limited to 'gdb/cli/cli-setshow.c')
-rw-r--r-- | gdb/cli/cli-setshow.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/cli/cli-setshow.c b/gdb/cli/cli-setshow.c index 62fe36f..37b289d 100644 --- a/gdb/cli/cli-setshow.c +++ b/gdb/cli/cli-setshow.c @@ -344,8 +344,8 @@ do_setshow_command (char *arg, int from_tty, struct cmd_list_element *c) else error ("gdb internal error: bad cmd_type in do_setshow_command"); c->func (c, NULL, from_tty); - if (c->type == set_cmd && set_hook) - set_hook (c); + if (c->type == set_cmd && deprecated_set_hook) + deprecated_set_hook (c); } /* Show all the settings in a list of show commands. */ |