* cli/cli-cmds.c (enablebreaklist): Move it to breakpoint.c.
	(skiplist): Move it to skip.c.
	(init_cmd_lists): Remove code setting enablebreaklist and
	skiplist to NULL.
	* breakpoint.c (enablebreaklist): Moved from cli/cli-cmds.c.
	* cli/cli-cmds.h: Remove declaration of enablebreaklist and
	skiplist.
	* gdbcmd.h: Likewise.
	* skip.c (_initialize_step_skip): Move 'skiplist' from
	cli/cli-cmds.c.
This commit is contained in:
Yao Qi 2012-08-09 06:48:22 +00:00
parent 28578e6b11
commit 8bfd80dbad
6 changed files with 18 additions and 20 deletions

View file

@ -136,10 +136,6 @@ struct cmd_list_element *detachlist;
struct cmd_list_element *killlist;
/* Chain containing all defined "enable breakpoint" subcommands. */
struct cmd_list_element *enablebreaklist;
/* Chain containing all defined set subcommands */
struct cmd_list_element *setlist;
@ -188,8 +184,6 @@ struct cmd_list_element *setchecklist;
struct cmd_list_element *showchecklist;
struct cmd_list_element *skiplist;
/* Command tracing state. */
int source_verbose = 0;
@ -1576,7 +1570,6 @@ init_cmd_lists (void)
stoplist = NULL;
deletelist = NULL;
detachlist = NULL;
enablebreaklist = NULL;
setlist = NULL;
unsetlist = NULL;
showlist = NULL;
@ -1590,7 +1583,6 @@ init_cmd_lists (void)
showprintlist = NULL;
setchecklist = NULL;
showchecklist = NULL;
skiplist = NULL;
}
static void