From 16419bae303527c4164640668685f2eefcb2448a Mon Sep 17 00:00:00 2001 From: Doug Evans Date: Wed, 17 Jul 2013 19:01:48 +0000 Subject: * gdbcmd.h (togglelist): Delete. * cli/cli-cmds.c (togglelist): Delete. (init_cmd_lists): Update. * cli/cli-cmds.h (togglelist): Delete. --- gdb/ChangeLog | 7 +++++++ gdb/cli/cli-cmds.c | 5 ----- gdb/cli/cli-cmds.h | 4 ---- gdb/gdbcmd.h | 4 ---- 4 files changed, 7 insertions(+), 13 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 3a83898..cb95151 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,10 @@ +2013-07-17 Doug Evans + + * gdbcmd.h (togglelist): Delete. + * cli/cli-cmds.c (togglelist): Delete. + (init_cmd_lists): Update. + * cli/cli-cmds.h (togglelist): Delete. + 2013-07-17 Tom Tromey * dwarf2read.c (dwarf2_per_objfile_free): Clear diff --git a/gdb/cli/cli-cmds.c b/gdb/cli/cli-cmds.c index bd2ca2d..4c2825a 100644 --- a/gdb/cli/cli-cmds.c +++ b/gdb/cli/cli-cmds.c @@ -116,10 +116,6 @@ struct cmd_list_element *enablelist; struct cmd_list_element *disablelist; -/* Chain containing all defined toggle subcommands. */ - -struct cmd_list_element *togglelist; - /* Chain containing all defined stop subcommands. */ struct cmd_list_element *stoplist; @@ -1567,7 +1563,6 @@ init_cmd_lists (void) infolist = NULL; enablelist = NULL; disablelist = NULL; - togglelist = NULL; stoplist = NULL; deletelist = NULL; detachlist = NULL; diff --git a/gdb/cli/cli-cmds.h b/gdb/cli/cli-cmds.h index 34fe445..2181f87 100644 --- a/gdb/cli/cli-cmds.h +++ b/gdb/cli/cli-cmds.h @@ -45,10 +45,6 @@ extern struct cmd_list_element *detachlist; extern struct cmd_list_element *killlist; -/* Chain containing all defined toggle subcommands. */ - -extern struct cmd_list_element *togglelist; - /* Chain containing all defined stop subcommands. */ extern struct cmd_list_element *stoplist; diff --git a/gdb/gdbcmd.h b/gdb/gdbcmd.h index 3132d1b..c9262f6 100644 --- a/gdb/gdbcmd.h +++ b/gdb/gdbcmd.h @@ -55,10 +55,6 @@ extern struct cmd_list_element *detachlist; extern struct cmd_list_element *killlist; -/* Chain containing all defined toggle subcommands. */ - -extern struct cmd_list_element *togglelist; - /* Chain containing all defined stop subcommands. */ extern struct cmd_list_element *stoplist; -- cgit v1.1