summaryrefslogtreecommitdiff
path: root/src/target/breakpoints.h
diff options
context:
space:
mode:
authorduane <duane@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2009-06-27 17:25:07 +0000
committerduane <duane@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2009-06-27 17:25:07 +0000
commit78c0e873d2bc9928849c18f2c605a5f2382a3980 (patch)
tree2851426f5e960f4b90c21e3ed21b2142f6236a08 /src/target/breakpoints.h
parentf538794bf62d28f1a96ecfcbf8d01991d8530404 (diff)
downloadopenocd+libswd-78c0e873d2bc9928849c18f2c605a5f2382a3980.tar.gz
openocd+libswd-78c0e873d2bc9928849c18f2c605a5f2382a3980.tar.bz2
openocd+libswd-78c0e873d2bc9928849c18f2c605a5f2382a3980.tar.xz
openocd+libswd-78c0e873d2bc9928849c18f2c605a5f2382a3980.zip
Add Breakpoint/Watchpoint unique ID to help debug hardware debug register leakage
git-svn-id: svn://svn.berlios.de/openocd/trunk@2408 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'src/target/breakpoints.h')
-rw-r--r--src/target/breakpoints.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/target/breakpoints.h b/src/target/breakpoints.h
index 610b8847..b75aae62 100644
--- a/src/target/breakpoints.h
+++ b/src/target/breakpoints.h
@@ -43,6 +43,7 @@ typedef struct breakpoint_s
int set;
uint8_t *orig_instr;
struct breakpoint_s *next;
+ int unique_id;
} breakpoint_t;
typedef struct watchpoint_s
@@ -54,6 +55,7 @@ typedef struct watchpoint_s
enum watchpoint_rw rw;
int set;
struct watchpoint_s *next;
+ int unique_id;
} watchpoint_t;
extern void breakpoint_clear_target(struct target_s *target);