This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[commit] delete togglelist
- From: Doug Evans <dje at google dot com>
- To: gdb-patches at sourceware dot org
- Date: Wed, 17 Jul 2013 12:02:48 -0700
- Subject: [commit] delete togglelist
Hi.
I happened to notice togglelist isn't used anywhere.
Deleted.
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.
Index: gdbcmd.h
===================================================================
RCS file: /cvs/src/src/gdb/gdbcmd.h,v
retrieving revision 1.28
diff -u -p -r1.28 gdbcmd.h
--- gdbcmd.h 1 Jan 2013 06:32:44 -0000 1.28
+++ gdbcmd.h 17 Jul 2013 18:57:05 -0000
@@ -55,10 +55,6 @@ extern struct cmd_list_element *detachli
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;
Index: cli/cli-cmds.c
===================================================================
RCS file: /cvs/src/src/gdb/cli/cli-cmds.c,v
retrieving revision 1.157
diff -u -p -r1.157 cli-cmds.c
--- cli/cli-cmds.c 1 Jul 2013 11:22:12 -0000 1.157
+++ cli/cli-cmds.c 17 Jul 2013 18:57:05 -0000
@@ -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;
Index: cli/cli-cmds.h
===================================================================
RCS file: /cvs/src/src/gdb/cli/cli-cmds.h,v
retrieving revision 1.24
diff -u -p -r1.24 cli-cmds.h
--- cli/cli-cmds.h 1 Jul 2013 11:22:12 -0000 1.24
+++ cli/cli-cmds.h 17 Jul 2013 18:57:05 -0000
@@ -45,10 +45,6 @@ extern struct cmd_list_element *detachli
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;