dsp5680xx - separate debug from halt

i had assumed two possible halt/debug states:
  - halted + debug mode
  - running + not debug mode
turns out this one also exists
  - halted + NOT in debug mode
added code to handle this in an appropiate way.

Change-Id: Ia0ddcd55d1890c90d100a9e6f5e84ed8dda812a3
Signed-off-by: Rodrigo L. Rosa <rodrigorosa.lg@gmail.com>
Reviewed-on: http://openocd.zylin.com/220
Tested-by: jenkins
Reviewed-by: Øyvind Harboe <oyvindharboe@gmail.com>
__archive__
rodrigo_l_rosa 2011-09-02 23:22:21 -07:00 committed by Øyvind Harboe
parent 6461f7669a
commit e2fdb1c864
2 changed files with 542 additions and 430 deletions

File diff suppressed because it is too large Load Diff

View File

@ -256,6 +256,7 @@ struct dsp5680xx_common{
//TODO
uint32_t stored_pc;
int flush;
bool debug_mode_enabled;
};
extern struct dsp5680xx_common dsp5680xx_context;