openocd: generic halt function

Halting can now be done for cortex-a9 and cortex-m3 target with the halting
function which originally was only able to halt the cortex-a9 target.

Change-Id: I9ced64253405654c4155c8f776534bc7231387b2
This commit is contained in:
Lars Rademacher
2013-11-25 23:16:43 +01:00
parent f9cc503b7e
commit 14cd9346ec
2 changed files with 23 additions and 14 deletions

View File

@ -65,7 +65,7 @@ void oocdw_delete_halt_condition(struct halt_condition *hc);
/*
* Immediate target halt without sepcific target instruction
*/
bool oocdw_halt_target();
bool oocdw_halt_target(struct target *target);
/*
* Target reboot