summaryrefslogtreecommitdiff
path: root/debug.c
diff options
context:
space:
mode:
authorMike Pavone <pavone@retrodev.com>2014-02-11 22:38:47 -0800
committerMike Pavone <pavone@retrodev.com>2014-02-11 22:38:47 -0800
commitc59f83fe4400f916891f8f16805247d2d077a3a9 (patch)
treea68e1ec59c49f875419ab8849109d9b96b7e7081 /debug.c
parent5f77a699631ee74a6c1876ad2727e876b923e202 (diff)
Support single stepping in gdb remote debugger
Diffstat (limited to 'debug.c')
-rw-r--r--debug.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/debug.c b/debug.c
index 2bd30b0..aa0cb7f 100644
--- a/debug.c
+++ b/debug.c
@@ -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)
{