remove target_type register_command callback

Uses chaining of command_registration structures to eliminate all
target_type register_callback routines.  Exports the command_handler
registration arrays for those target types that are used by others.
This commit is contained in:
Zachary T Welch
2009-11-23 08:17:01 -08:00
parent 144e3678bd
commit 66ee303456
31 changed files with 89 additions and 149 deletions

View File

@@ -320,11 +320,6 @@ int mips32_init_arch_info(struct target *target, struct mips32_common *mips32, s
return ERROR_OK;
}
int mips32_register_commands(struct command_context *cmd_ctx)
{
return ERROR_OK;
}
int mips32_run_algorithm(struct target *target, int num_mem_params, struct mem_param *mem_params, int num_reg_params, struct reg_param *reg_params, uint32_t entry_point, uint32_t exit_point, int timeout_ms, void *arch_info)
{
/*TODO*/