* 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

@@ -53,10 +53,6 @@ extern struct cmd_list_element *togglelist;
extern struct cmd_list_element *stoplist;
/* Chain containing all defined "enable breakpoint" subcommands. */
extern struct cmd_list_element *enablebreaklist;
/* Chain containing all defined set subcommands */
extern struct cmd_list_element *setlist;
@@ -105,8 +101,6 @@ extern struct cmd_list_element *setchecklist;
extern struct cmd_list_element *showchecklist;
extern struct cmd_list_element *skiplist;
/* Exported to gdb/top.c */
void init_cmd_lists (void);