diff options
-rw-r--r-- | gdb/ChangeLog | 3 | ||||
-rw-r--r-- | gdb/cli/cli-cmds.c | 21 |
2 files changed, 3 insertions, 21 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index cb95151..691470a 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,8 @@ 2013-07-17 Doug Evans <dje@google.com> + * cli/cli-cmds.c (init_cmd_lists): Delete unnecessary initialization + of all *list variables. + * gdbcmd.h (togglelist): Delete. * cli/cli-cmds.c (togglelist): Delete. (init_cmd_lists): Update. diff --git a/gdb/cli/cli-cmds.c b/gdb/cli/cli-cmds.c index 4c2825a..0649cbc 100644 --- a/gdb/cli/cli-cmds.c +++ b/gdb/cli/cli-cmds.c @@ -1558,27 +1558,6 @@ void init_cmd_lists (void) { max_user_call_depth = 1024; - - cmdlist = NULL; - infolist = NULL; - enablelist = NULL; - disablelist = NULL; - stoplist = NULL; - deletelist = NULL; - detachlist = NULL; - setlist = NULL; - unsetlist = NULL; - showlist = NULL; - sethistlist = NULL; - showhistlist = NULL; - unsethistlist = NULL; - maintenancelist = NULL; - maintenanceinfolist = NULL; - maintenanceprintlist = NULL; - setprintlist = NULL; - showprintlist = NULL; - setchecklist = NULL; - showchecklist = NULL; } static void |