aboutsummaryrefslogtreecommitdiff
path: root/gdb/skip.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/skip.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/skip.c')
-rw-r--r--gdb/skip.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/skip.c b/gdb/skip.c
index 8e19652..5a3fae3 100644
--- a/gdb/skip.c
+++ b/gdb/skip.c
@@ -545,6 +545,7 @@ extern initialize_file_ftype _initialize_step_skip;
void
_initialize_step_skip (void)
{
+ static struct cmd_list_element *skiplist = NULL;
struct cmd_list_element *c;
skiplist_entry_chain = 0;