]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
* cli/cli-decode.c (add_cmd): Initialize pre_show_hook in
authorJeff Law <law@redhat.com>
Thu, 20 Dec 2001 18:35:30 +0000 (18:35 +0000)
committerJeff Law <law@redhat.com>
Thu, 20 Dec 2001 18:35:30 +0000 (18:35 +0000)
the new command.

gdb/ChangeLog
gdb/cli/cli-decode.c

index b00e4137bc84c393ea0b9ee10c5e743330c7c18d..f9552200eed2485369f1702924c82b35d50cd5c0 100644 (file)
@@ -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>
 
        * remote.c (struct packet_reg): Add field in_g_packet.
index bb9eb949627353ce6af143078d612e44a2869213..1d51c6b6b7eed96c3c43d1dacd6ed2e5d0530f53 100644 (file)
@@ -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;