* cli/cli-decode.c (add_cmd): Initialize pre_show_hook in
the new command.
This commit is contained in:
parent
b323314b01
commit
47724592cf
2 changed files with 6 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
Thu Dec 20 11:37:50 2001 Jeffrey A Law (law@redhat.com)
|
||||||
|
|
||||||
|
* cli/cli-decode.c (add_cmd): Initialize pre_show_hook in
|
||||||
|
the new command.
|
||||||
|
|
||||||
2001-12-20 Andrew Cagney <ac131313@redhat.com>
|
2001-12-20 Andrew Cagney <ac131313@redhat.com>
|
||||||
|
|
||||||
* remote.c (struct packet_reg): Add field in_g_packet.
|
* remote.c (struct packet_reg): Add field in_g_packet.
|
||||||
|
|
|
@ -90,6 +90,7 @@ add_cmd (char *name, enum command_class class, void (*fun) (char *, int),
|
||||||
c->doc = doc;
|
c->doc = doc;
|
||||||
c->flags = 0;
|
c->flags = 0;
|
||||||
c->replacement = NULL;
|
c->replacement = NULL;
|
||||||
|
c->pre_show_hook = NULL;
|
||||||
c->hook_pre = NULL;
|
c->hook_pre = NULL;
|
||||||
c->hook_post = NULL;
|
c->hook_post = NULL;
|
||||||
c->hook_in = 0;
|
c->hook_in = 0;
|
||||||
|
|
Loading…
Reference in a new issue