Update Embedded ICE registers explicitly during target->type->examine() instead
of as a side effect of target->type->poll(). This makes it clearer when things happen during reset/examine. git-svn-id: svn://svn.berlios.de/openocd/trunk@585 b42882b7-edfa-0310-969c-e2dbd0fdcd60
This commit is contained in:
@@ -876,6 +876,8 @@ int arm9tdmi_examine(struct command_context_s *cmd_ctx, struct target_s *target)
|
||||
}
|
||||
if ((retval=embeddedice_setup(target))!=ERROR_OK)
|
||||
return retval;
|
||||
if ((retval=arm7_9_setup(target))!=ERROR_OK)
|
||||
return retval;
|
||||
if (arm7_9->etm_ctx)
|
||||
{
|
||||
if ((retval=etm_setup(target))!=ERROR_OK)
|
||||
|
||||
Reference in New Issue
Block a user