summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gdb/ChangeLog7
-rw-r--r--gdb/cli/cli-cmds.c5
-rw-r--r--gdb/cli/cli-cmds.h4
-rw-r--r--gdb/gdbcmd.h4
4 files changed, 7 insertions, 13 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 3a8389806df..cb951514609 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,10 @@
+2013-07-17 Doug Evans <dje@google.com>
+
+ * 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 <tromey@redhat.com>
* dwarf2read.c (dwarf2_per_objfile_free): Clear
diff --git a/gdb/cli/cli-cmds.c b/gdb/cli/cli-cmds.c
index bd2ca2d58fe..4c2825a93a1 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 34fe44554c6..2181f87a96b 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 3132d1bc2a3..c9262f69c73 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;