summaryrefslogtreecommitdiff
path: root/src/target/target.h
diff options
context:
space:
mode:
authorØyvind Harboe <oyvind.harboe@zylin.com>2011-03-30 13:32:47 +0200
committerØyvind Harboe <oyvind.harboe@zylin.com>2011-03-31 09:30:48 +0200
commitb75bdb7b0428add602c2e4beb7e059da5d4a6c95 (patch)
treec91f17fb395f04902a04ba78b7874bcdf77b649a /src/target/target.h
parentac6f8f9616aada403c52254738096ec43888ca42 (diff)
downloadopenocd+libswd-b75bdb7b0428add602c2e4beb7e059da5d4a6c95.tar.gz
openocd+libswd-b75bdb7b0428add602c2e4beb7e059da5d4a6c95.tar.bz2
openocd+libswd-b75bdb7b0428add602c2e4beb7e059da5d4a6c95.tar.xz
openocd+libswd-b75bdb7b0428add602c2e4beb7e059da5d4a6c95.zip
target: add -dbgbase option to target configuration
Really a Cortex-A specific option, but there is no system in place to support target specific options currently and there has been no need for such a system until now. Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
Diffstat (limited to 'src/target/target.h')
-rw-r--r--src/target/target.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/target/target.h b/src/target/target.h
index d6e7431e..32fa87a1 100644
--- a/src/target/target.h
+++ b/src/target/target.h
@@ -155,6 +155,11 @@ struct target
* lots of halted/resumed info when stepping in debugger. */
bool halt_issued; /* did we transition to halted state? */
long long halt_issued_time; /* Note time when halt was issued */
+
+ bool dbgbase_set; /* By default the debug base is not set */
+ uint32_t dbgbase; /* Really a Cortex-A specific option, but there is no
+ system in place to support target specific options
+ currently. */
};
/** Returns the instance-specific name of the specified target. */