From 96baa820df8126165bd3c4a33c561556b21203af Mon Sep 17 00:00:00 2001 From: Jason Molenda Date: Mon, 9 Aug 1999 21:36:23 +0000 Subject: import gdb-1999-08-09 snapshot --- gdb/command.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'gdb/command.c') diff --git a/gdb/command.c b/gdb/command.c index fd8b814..dc39265 100644 --- a/gdb/command.c +++ b/gdb/command.c @@ -1418,6 +1418,8 @@ do_setshow_command (arg, from_tty, c) else error ("gdb internal error: bad cmd_type in do_setshow_command"); (*c->function.sfunc) (NULL, from_tty, c); + if (c->type == set_cmd && set_hook) + set_hook (c); } /* Show all the settings in a list of show commands. */ -- cgit v1.1