From c59f83fe4400f916891f8f16805247d2d077a3a9 Mon Sep 17 00:00:00 2001 From: Mike Pavone Date: Tue, 11 Feb 2014 22:38:47 -0800 Subject: Support single stepping in gdb remote debugger --- debug.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'debug.c') diff --git a/debug.c b/debug.c index 2bd30b0..aa0cb7f 100644 --- a/debug.c +++ b/debug.c @@ -4,10 +4,10 @@ #include #include -bp_def * breakpoints = NULL; -bp_def * zbreakpoints = NULL; -uint32_t bp_index = 0; -uint32_t zbp_index = 0; +static bp_def * breakpoints = NULL; +static bp_def * zbreakpoints = NULL; +static uint32_t bp_index = 0; +static uint32_t zbp_index = 0; bp_def ** find_breakpoint(bp_def ** cur, uint32_t address) { -- cgit v1.2.3