diff debug.c @ 525:62860044337d

Support single stepping in gdb remote debugger
author Mike Pavone <pavone@retrodev.com>
date Tue, 11 Feb 2014 22:38:47 -0800
parents fb39534b6604
children a3afee2271ce b76d2a628ab9
line wrap: on
line diff
--- a/debug.c	Tue Feb 11 21:53:31 2014 -0800
+++ b/debug.c	Tue Feb 11 22:38:47 2014 -0800
@@ -4,10 +4,10 @@
 #include <stdlib.h>
 #include <string.h>
 
-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)
 {