diff options
author | Mike Pavone <pavone@retrodev.com> | 2014-02-11 22:38:47 -0800 |
---|---|---|
committer | Mike Pavone <pavone@retrodev.com> | 2014-02-11 22:38:47 -0800 |
commit | c59f83fe4400f916891f8f16805247d2d077a3a9 (patch) | |
tree | a68e1ec59c49f875419ab8849109d9b96b7e7081 /debug.c | |
parent | 5f77a699631ee74a6c1876ad2727e876b923e202 (diff) |
Support single stepping in gdb remote debugger
Diffstat (limited to 'debug.c')
-rw-r--r-- | debug.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -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) { |