diff options
author | Daniel Berlin <dberlin@dberlin.org> | 2000-03-30 03:10:58 +0000 |
---|---|---|
committer | Daniel Berlin <dberlin@dberlin.org> | 2000-03-30 03:10:58 +0000 |
commit | 23bd111d9228ab08588195c3b20303d8f9b2ce3d (patch) | |
tree | b74241ce0593820056f20cfe4bd3c45b186d68de /gdb | |
parent | 0729fd5008cef9a7e6365d8ecaf54a1bc0b137e8 (diff) | |
download | gdb-23bd111d9228ab08588195c3b20303d8f9b2ce3d.zip gdb-23bd111d9228ab08588195c3b20303d8f9b2ce3d.tar.gz gdb-23bd111d9228ab08588195c3b20303d8f9b2ce3d.tar.bz2 |
Didn't realize this auto-generated gdb-events.c. Since it does, i applied the gdb-events.c fix for deprecation back to here.
Diffstat (limited to 'gdb')
-rwxr-xr-x | gdb/gdb-events.sh | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/gdb/gdb-events.sh b/gdb/gdb-events.sh index 6b0b958..beabda6 100755 --- a/gdb/gdb-events.sh +++ b/gdb/gdb-events.sh @@ -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 |