moves handling of problems with resetting into the halted state
into the target implementation. Also target_process_reset() is now simpler and has error handling, e.g. if assert reset fails, then target_process_reset() will propagate that error. cmd_ctx was passed in to examine(), which is wrong - removed that. git-svn-id: svn://svn.berlios.de/openocd/trunk@887 b42882b7-edfa-0310-969c-e2dbd0fdcd60
This commit is contained in:
@@ -51,7 +51,7 @@ int cortex_m3_quit();
|
||||
int cortex_m3_load_core_reg_u32(target_t *target, enum armv7m_regtype type, u32 num, u32 *value);
|
||||
int cortex_m3_store_core_reg_u32(target_t *target, enum armv7m_regtype type, u32 num, u32 value);
|
||||
int cortex_m3_target_request_data(target_t *target, u32 size, u8 *buffer);
|
||||
int cortex_m3_examine(struct command_context_s *cmd_ctx, struct target_s *target);
|
||||
int cortex_m3_examine(struct target_s *target);
|
||||
|
||||
#ifdef ARMV7_GDB_HACKS
|
||||
extern u8 armv7m_gdb_dummy_cpsr_value[];
|
||||
@@ -1307,7 +1307,7 @@ int cortex_m3_init_target(struct command_context_s *cmd_ctx, struct target_s *ta
|
||||
return ERROR_OK;
|
||||
}
|
||||
|
||||
int cortex_m3_examine(struct command_context_s *cmd_ctx, struct target_s *target)
|
||||
int cortex_m3_examine(struct target_s *target)
|
||||
{
|
||||
int retval;
|
||||
u32 cpuid, fpcr, dwtcr, ictr;
|
||||
|
||||
Reference in New Issue
Block a user