Didn't realize this auto-generated gdb-events.c. Since it does, i applied the gdb...
authorDaniel Berlin <dberlin@dberlin.org>
Thu, 30 Mar 2000 03:10:58 +0000 (03:10 +0000)
committerDaniel Berlin <dberlin@dberlin.org>
Thu, 30 Mar 2000 03:10:58 +0000 (03:10 +0000)
gdb/gdb-events.sh

index 6b0b958402a68b51d81228d21dfdee16e29dec09..beabda602b8a8d9f7675549574108a16d58007f0 100755 (executable)
@@ -535,6 +535,7 @@ void _initialize_gdb_events (void);
 void
 _initialize_gdb_events (void)
 {
+struct cmd_list_element *c;
 #if WITH_GDB_EVENTS
 EOF
 function_list | while eval read $read
@@ -547,13 +548,21 @@ do
 done
 cat <<EOF
 #endif
-  add_show_from_set (add_set_cmd ("eventdebug",
+  c=add_set_cmd ("eventdebug",
                                   class_maintenance,
                                   var_zinteger,
                                   (char *)&gdb_events_debug,
                                   "Set event debugging.\n\\
-When non-zero, event/notify debugging is enabled.", &setlist),
-                     &showlist);
+When non-zero, event/notify debugging is enabled.", &setlist);
+  deprecate_cmd(c,"set debug event");
+  deprecate_cmd(add_show_from_set(c,&showlist),"show debug event");
+  add_show_from_set (add_set_cmd("event",
+                                class_maintenance,
+                                var_zinteger,
+                                (char *)&gdb_events_debug,
+                                "Set event debugging.\n\\
+When non-zero, event/notify debugging is enabled.", &setdebuglist),&showdebuglist);
+
 }
 EOF