diff options
author | Jeff Law <law@redhat.com> | 2001-12-20 18:35:30 +0000 |
---|---|---|
committer | Jeff Law <law@redhat.com> | 2001-12-20 18:35:30 +0000 |
commit | f1e40cfc59e267bbaba6be21e20575be9eb61b9a (patch) | |
tree | 3d84cc67d30e4b0731931fbcbf41ac939c12365e /gdb/cli | |
parent | 90a94865b10e34343a28485161a23f99bf373486 (diff) | |
download | gdb-f1e40cfc59e267bbaba6be21e20575be9eb61b9a.tar.gz |
* cli/cli-decode.c (add_cmd): Initialize pre_show_hook in
the new command.
Diffstat (limited to 'gdb/cli')
-rw-r--r-- | gdb/cli/cli-decode.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/cli/cli-decode.c b/gdb/cli/cli-decode.c index bb9eb949627..1d51c6b6b7e 100644 --- a/gdb/cli/cli-decode.c +++ b/gdb/cli/cli-decode.c @@ -90,6 +90,7 @@ add_cmd (char *name, enum command_class class, void (*fun) (char *, int), c->doc = doc; c->flags = 0; c->replacement = NULL; + c->pre_show_hook = NULL; c->hook_pre = NULL; c->hook_post = NULL; c->hook_in = 0; |