summaryrefslogtreecommitdiffstats
path: root/gdb/command.c
diff options
context:
space:
mode:
authorJason Molenda <jmolenda@apple.com>1999-08-09 21:36:23 +0000
committerJason Molenda <jmolenda@apple.com>1999-08-09 21:36:23 +0000
commit96baa820df8126165bd3c4a33c561556b21203af (patch)
tree60cf1938a2c0aaae5d3aab73b553f031138ec99c /gdb/command.c
parent10e80b41455f1a386485631b7c170cafe341dcd6 (diff)
downloadppe42-binutils-96baa820df8126165bd3c4a33c561556b21203af.tar.gz
ppe42-binutils-96baa820df8126165bd3c4a33c561556b21203af.zip
import gdb-1999-08-09 snapshot
Diffstat (limited to 'gdb/command.c')
-rw-r--r--gdb/command.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gdb/command.c b/gdb/command.c
index fd8b814528..dc39265d6b 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. */
OpenPOWER on IntegriCloud