diff options
author | Hsiangkai Wang <hsiangkai@gmail.com> | 2013-07-02 17:29:46 +0800 |
---|---|---|
committer | Spencer Oliver <spen@spen-soft.co.uk> | 2013-09-13 19:37:58 +0000 |
commit | 24dd226e896a84391a3da383d6a0b542e9934f53 (patch) | |
tree | 589175a45f0303ce668f3eb1950b31ce5d5db0c7 /src/target/nds32.h | |
parent | 18c40eb9e53f559e089b6f745284cf42718182da (diff) |
nds32: support multi-target debugging
Change-Id: If767f646b234dbcdb01946e5d13a3a6a29df2d78
Signed-off-by: Hsiangkai Wang <hsiangkai@gmail.com>
Reviewed-on: http://openocd.zylin.com/1581
Tested-by: jenkins
Reviewed-by: Spencer Oliver <spen@spen-soft.co.uk>
Diffstat (limited to 'src/target/nds32.h')
-rw-r--r-- | src/target/nds32.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/target/nds32.h b/src/target/nds32.h index 304fc35f..fe5ee00e 100644 --- a/src/target/nds32.h +++ b/src/target/nds32.h @@ -296,6 +296,8 @@ struct nds32 { /** Record syscall ID for other operations to do special processing for target */ int active_syscall_id; + struct breakpoint syscall_break; + /** Flag reporting whether global stop is active. */ bool global_stop; @@ -309,6 +311,9 @@ struct nds32 { * handler, it should be true. */ bool keep_target_edm_ctl; + /* Value of $EDM_CTL before target enters debug mode */ + uint32_t backup_edm_ctl; + /** always use word-aligned address to access memory */ bool word_access_mem; @@ -346,6 +351,9 @@ struct nds32 { * hardware breakpoints or not in ROM */ bool auto_convert_hw_bp; + /* Flag to indicate the target is attached by debugger or not */ + bool attached; + /** Backpointer to the target. */ struct target *target; |