diff options
author | Daniel Berlin <dberlin@dberlin.org> | 2000-03-28 02:25:14 +0000 |
---|---|---|
committer | Daniel Berlin <dberlin@dberlin.org> | 2000-03-28 02:25:14 +0000 |
commit | 5d161b24198e362be0f768e76e6f76bd110d8acb (patch) | |
tree | 7a7095d7ec3ec96b13ce4a232db0a0d2fa8121e5 /gdb/gdb-events.c | |
parent | 107b56f053504c0864319ccb6c0f3fef03186fe6 (diff) | |
download | gdb-5d161b24198e362be0f768e76e6f76bd110d8acb.zip gdb-5d161b24198e362be0f768e76e6f76bd110d8acb.tar.gz gdb-5d161b24198e362be0f768e76e6f76bd110d8acb.tar.bz2 |
The set debug changes
Diffstat (limited to 'gdb/gdb-events.c')
-rw-r--r-- | gdb/gdb-events.c | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/gdb/gdb-events.c b/gdb/gdb-events.c index 3a4f497..66061fe 100644 --- a/gdb/gdb-events.c +++ b/gdb/gdb-events.c @@ -214,16 +214,24 @@ void _initialize_gdb_events (void); void _initialize_gdb_events (void) { + struct cmd_list_element *c; #if WITH_GDB_EVENTS queue_event_hooks.breakpoint_create = queue_breakpoint_create; queue_event_hooks.breakpoint_delete = queue_breakpoint_delete; queue_event_hooks.breakpoint_modify = queue_breakpoint_modify; -#endif - add_show_from_set (add_set_cmd ("eventdebug", +#endif /* WITH_GDB_EVENTS */ + + 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); + 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.", &setlist), - &showlist); +When non-zero, event/notify debugging is enabled.", &setdebuglist), + &showdebuglist); } |