aboutsummaryrefslogtreecommitdiff
path: root/gdb/breakpoint.c
diff options
context:
space:
mode:
authorYao Qi <yao@codesourcery.com>2012-08-09 06:48:22 +0000
committerYao Qi <yao@codesourcery.com>2012-08-09 06:48:22 +0000
commit8bfd80dbad1e2a61b52a06c91510c287c2c7a7af (patch)
tree44eabbf552138781ac780409e0c333011fbbc22b /gdb/breakpoint.c
parent28578e6b11759a8ed9a71f56329fe2b736d5d443 (diff)
downloadgdb-8bfd80dbad1e2a61b52a06c91510c287c2c7a7af.zip
gdb-8bfd80dbad1e2a61b52a06c91510c287c2c7a7af.tar.gz
gdb-8bfd80dbad1e2a61b52a06c91510c287c2c7a7af.tar.bz2
gdb/
* 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.
Diffstat (limited to 'gdb/breakpoint.c')
-rw-r--r--gdb/breakpoint.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/gdb/breakpoint.c b/gdb/breakpoint.c
index b24f71c..e38c54a 100644
--- a/gdb/breakpoint.c
+++ b/gdb/breakpoint.c
@@ -15859,6 +15859,10 @@ initialize_breakpoint_ops (void)
ops->print_recreate = bkpt_print_recreate;
}
+/* Chain containing all defined "enable breakpoint" subcommands. */
+
+static struct cmd_list_element *enablebreaklist = NULL;
+
void
_initialize_breakpoint (void)
{