From 78c0e873d2bc9928849c18f2c605a5f2382a3980 Mon Sep 17 00:00:00 2001 From: duane Date: Sat, 27 Jun 2009 17:25:07 +0000 Subject: 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 --- src/target/breakpoints.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/target/breakpoints.h') 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); -- cgit v1.2.3