This is an automated email from Gerrit. Alamy Liu ([email protected]) just uploaded a new patch set to Gerrit, which you can find at http://openocd.zylin.com/3318
-- gerrit commit 9cfd3b4963062914ce714af96c369278733ce786 Author: Alamy Liu <[email protected]> Date: Wed Oct 21 10:34:07 2015 -0700 target: add ARMv8 debug reason from EDSCR.STATUS Change-Id: I9ebea5eebab86deb709039350f940b37a542ba24 Signed-off-by: Alamy Liu <[email protected]> diff --git a/src/target/target.c b/src/target/target.c index bcaa1e2..5f5b51a 100644 --- a/src/target/target.c +++ b/src/target/target.c @@ -243,6 +243,13 @@ static const Jim_Nvp nvp_target_debug_reason[] = { { .name = "single-step" , .value = DBG_REASON_SINGLESTEP }, { .name = "target-not-halted" , .value = DBG_REASON_NOTHALTED }, { .name = "program-exit" , .value = DBG_REASON_EXIT }, + { .name = "single-step(exclusive)" , .value = DBG_REASON_SINGLESTEP_EXCL }, + { .name = "single-step(no-syndrome)" , .value = DBG_REASON_SINGLESTEP_NOSYND }, + { .name = "OS-unlock-catch" , .value = DBG_REASON_OSUL }, + { .name = "reset-catch" , .value = DBG_REASON_RESET }, + { .name = "HLT-instruction" , .value = DBG_REASON_HLT }, + { .name = "software-access" , .value = DBG_REASON_SWACC }, + { .name = "exception-catch" , .value = DBG_REASON_EXCPT }, { .name = "undefined" , .value = DBG_REASON_UNDEFINED }, { .name = NULL, .value = -1 }, }; diff --git a/src/target/target.h b/src/target/target.h index 3df2a4b..3ef9a56 100644 --- a/src/target/target.h +++ b/src/target/target.h @@ -90,12 +90,14 @@ enum target_debug_reason { DBG_REASON_SINGLESTEP = 4, DBG_REASON_NOTHALTED = 5, DBG_REASON_EXIT = 6, - DBG_REASON_OSUL = 7, /* ARMv8: OS Unlock catch */ - DBG_REASON_RESET = 8, /* ARMv8: Reset catch */ - DBG_REASON_HLT = 9, /* ARMv8: HLT instruction */ - DBG_REASON_SWACC = 10, /* ARMv8: Software access to debug register */ - DBG_REASON_EXCP = 11, /* ARMv8: Exception catch */ - DBG_REASON_UNDEFINED = 12, + DBG_REASON_SINGLESTEP_EXCL = 7, /* ARMv8: Step, exclusive */ + DBG_REASON_SINGLESTEP_NOSYND = 8,/*ARMv8: Step, no syndrome */ + DBG_REASON_OSUL = 9, /* ARMv8: OS Unlock catch */ + DBG_REASON_RESET = 10, /* ARMv8: Reset catch */ + DBG_REASON_HLT = 11, /* ARMv8: HLT instruction */ + DBG_REASON_SWACC = 12, /* ARMv8: Software access to debug register */ + DBG_REASON_EXCPT = 13, /* ARMv8: Exception catch */ + DBG_REASON_UNDEFINED = 14, }; enum target_endianness { -- ------------------------------------------------------------------------------ Site24x7 APM Insight: Get Deep Visibility into Application Performance APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month Monitor end-to-end web transactions and take corrective actions now Troubleshoot faster and improve end-user experience. Signup Now! http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140 _______________________________________________ OpenOCD-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/openocd-devel
