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>
This commit is contained in:
Øyvind Harboe
2011-03-30 13:32:47 +02:00
parent ac6f8f9616
commit b75bdb7b04
2 changed files with 23 additions and 0 deletions

View File

@@ -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. */