aboutsummaryrefslogtreecommitdiff
path: root/gdb/gdb-events.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/gdb-events.c')
-rw-r--r--gdb/gdb-events.c18
1 files changed, 10 insertions, 8 deletions
diff --git a/gdb/gdb-events.c b/gdb/gdb-events.c
index e0916d8..42d93bf 100644
--- a/gdb/gdb-events.c
+++ b/gdb/gdb-events.c
@@ -335,13 +335,15 @@ _initialize_gdb_events (void)
(char *) (&gdb_events_debug), "Set event debugging.\n\
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\
+ deprecate_cmd (deprecated_add_show_from_set (c, &showlist),
+ "show debug event");
+
+ deprecated_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);
+ &showdebuglist);
}